💄 style(chat.py): reformat code to improve readability
The unused imports and exception handling for WebSocketDisconnect and WebSocketException were removed from the chat.py file. The code was reformatted to improve readability.
🔥 refactor(chat.py): remove unused imports and exception handling
This commit is contained in:
parent
a41cc95abb
commit
d300c0b428
2 changed files with 4 additions and 11 deletions
|
|
@ -1,11 +1,6 @@
|
|||
import json
|
||||
from fastapi import WebSocketDisconnect, WebSocketException
|
||||
from langflow.graph.graph.base import Graph
|
||||
from langflow.api.v1.chat import chat_manager
|
||||
from fastapi import WebSocketDisconnect
|
||||
|
||||
# from langflow.chat.manager import ChatManager
|
||||
from langflow.utils.logger import logger
|
||||
from unittest.mock import AsyncMock, MagicMock, patch
|
||||
|
||||
import pytest
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue