mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 06:44:22 +01:00
Apply pylint's linting rules to bfxapi/websocket/__init__.py, bfxapi/websocket/enums.py, bfxapi/websocket/exceptions.py, bfxapi/websocket/serializers.py and bfxapi/websocket/subscriptions.py.
This commit is contained in:
@@ -15,12 +15,14 @@ _Header = TypedDict("_Header", { "event": Literal["subscribed"], "channel": str,
|
||||
Subscription = Union["Ticker", "Trades", "Book", "Candles", "Status"]
|
||||
|
||||
class Ticker(TypedDict):
|
||||
subId: str; symbol: str
|
||||
subId: str
|
||||
symbol: str
|
||||
pair: Optional[str]
|
||||
currency: Optional[str]
|
||||
|
||||
class Trades(TypedDict):
|
||||
subId: str; symbol: str
|
||||
subId: str
|
||||
symbol: str
|
||||
pair: Optional[str]
|
||||
currency: Optional[str]
|
||||
|
||||
@@ -38,4 +40,4 @@ class Candles(TypedDict):
|
||||
|
||||
class Status(TypedDict):
|
||||
subId: str
|
||||
key: str
|
||||
key: str
|
||||
|
||||
Reference in New Issue
Block a user