Commit Graph

11 Commits

Author SHA1 Message Date
Davide Casale
d9733e8d38 Change visibility of decorators require_websocket_connection and require_websocket_authentication (and hardcode HEARTBEAT). 2023-06-17 22:24:27 +02:00
Davide Casale
03a03c6107 Delete HandlerNotFound exception (from bfxapi.websocket.exceptions). 2023-04-20 15:49:46 +02:00
Davide Casale
63ab433710 Apply refactoring to some relative import directives. 2023-04-20 15:38:10 +02:00
Davide Casale
d80b8b8721 Rename BfxWebsocketClient, BfxWebsocketBucket and BfxWebsocketInputs to BfxWebSocketClient, BfxWebSocketBucket and BfxWebSocketInputs. 2023-04-20 01:36:09 +02:00
Davide Casale
734375ec9f Add and implement wss_timeout in BfxWebsocketClient (and Client). 2023-04-16 20:04:46 +02:00
Davide Casale
249f19fe41 Add ZeroConnectionsError in bfxapi.websocket.exceptions. Add log if connections = 0 in BfxWebsocketClient::start. Add raise ZeroConnectionError in BfxWebsocketClient::subscribe if connections equals 0. 2023-03-14 19:03:05 +01:00
Davide Casale
a7f5aa684a 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. 2023-03-06 17:28:56 +01:00
Davide Casale
17c9502733 Apply fixes and refactoring to the bfxapi.handlers sub-package. 2023-02-14 16:29:50 +01:00
Davide Casale
0a53ab7f7e Apply lots of refactoring to the websocket subpackage (fix every mypy error and warning). Add integers.py and decimal.py to bfxapi.utils package. Update requirements.txt and setup.py with new mypy dependencies. 2022-12-16 18:30:41 +01:00
Davide Casale
4cfeab8a79 Add barebone files for rest section. 2022-11-30 18:25:15 +01:00
Davide Casale
a8dec5c6bc Rename bfxapi/websocket/errors.py to exceptions.py. Add Errors enumeration inside BfxWebsocketClient.py and bfxapi/websocket/__init__.py. 2022-11-22 18:11:05 +01:00