mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-20 07:14:20 +01:00
Upgrade to Mypy 1.3.0 (old: 0.991). Fix compatibility problems with Mypy. Add type hints to bfxapi.websocket.handlers.
This commit is contained in:
@@ -62,7 +62,7 @@ class BfxWebSocketBucket:
|
||||
|
||||
if isinstance(message, list):
|
||||
if (chan_id := message[0]) and message[1] != _HEARTBEAT:
|
||||
self.handler.handle(self.subscriptions[chan_id], *message[1:])
|
||||
self.handler.handle(self.subscriptions[chan_id], message[1:])
|
||||
|
||||
try:
|
||||
await _connection()
|
||||
|
||||
Reference in New Issue
Block a user