chore: remove non-needed type_checking import
This commit is contained in:
@@ -9,7 +9,7 @@ import asyncio
|
|||||||
import logging
|
import logging
|
||||||
import socket
|
import socket
|
||||||
from threading import Thread
|
from threading import Thread
|
||||||
from typing import TYPE_CHECKING, Any, Callable, TypedDict, Union
|
from typing import Any, Callable, TypedDict, Union
|
||||||
|
|
||||||
import websockets
|
import websockets
|
||||||
from pydantic import ValidationError
|
from pydantic import ValidationError
|
||||||
@@ -31,10 +31,6 @@ from freqtrade.rpc.api_server.ws_schemas import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
|
||||||
import websockets.connect
|
|
||||||
|
|
||||||
|
|
||||||
class Producer(TypedDict):
|
class Producer(TypedDict):
|
||||||
name: str
|
name: str
|
||||||
host: str
|
host: str
|
||||||
|
|||||||
Reference in New Issue
Block a user