💄 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:
Gabriel Luiz Freitas Almeida 2023-06-12 18:30:47 -03:00
commit d300c0b428
2 changed files with 4 additions and 11 deletions

View file

@ -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