mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 06:44:22 +01:00
Small fix in package import statements.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
from typing import List, Union, Literal, Optional
|
from typing import List, Tuple, Union, Literal, Optional
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
from typing import List, Union, Literal, Optional
|
from typing import TypedDict, List, Union, Literal, Optional
|
||||||
|
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
|
|
||||||
from .. types import *
|
from .. types import *
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
from typing import Type, Tuple, List, Dict, TypedDict, Union, Optional, Literal, Any
|
from typing import List, Dict, Optional, Literal, Any
|
||||||
|
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,6 @@ import json
|
|||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
from types import SimpleNamespace
|
|
||||||
|
|
||||||
from typing import Type, List, Dict, Union, Any
|
from typing import Type, List, Dict, Union, Any
|
||||||
|
|
||||||
JSON = Union[Dict[str, "JSON"], List["JSON"], bool, int, float, str, Type[None]]
|
JSON = Union[Dict[str, "JSON"], List["JSON"], bool, int, float, str, Type[None]]
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ from decimal import Decimal
|
|||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
from typing import Union, Optional, List, Tuple
|
from typing import Union, Optional, List, Tuple
|
||||||
from ..types import JSON
|
from .. enums import OrderType, FundingOfferType
|
||||||
from ..enums import OrderType, FundingOfferType
|
from ... utils.JSONEncoder import JSON
|
||||||
|
|
||||||
class BfxWebsocketInputs(object):
|
class BfxWebsocketInputs(object):
|
||||||
def __init__(self, __handle_websocket_input):
|
def __init__(self, __handle_websocket_input):
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
from ..enums import *
|
from .. enums import *
|
||||||
|
|
||||||
class Channels(str, Enum):
|
class Channels(str, Enum):
|
||||||
TICKER = "ticker"
|
TICKER = "ticker"
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
from typing import Type, Tuple, List, Dict, TypedDict, Union, Optional, Any
|
from typing import Optional
|
||||||
|
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
||||||
from ..labeler import _Type
|
from .. labeler import _Type
|
||||||
from ..notification import Notification
|
from .. notification import Notification
|
||||||
from ..utils.JSONEncoder import JSON
|
from .. utils.JSONEncoder import JSON
|
||||||
|
|
||||||
#region Type hinting for Websocket Public Channels
|
#region Type hinting for Websocket Public Channels
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user