Commit Graph

30 Commits

Author SHA1 Message Date
Davide Casale
5543b0b1d2 Fix all flake8 errors in all python files (+ edit configuration files). 2024-02-27 17:24:47 +01:00
Davide Casale
2344d44aa0 Remove all old '# pylint:' comments from all python files. 2024-02-26 20:04:09 +01:00
Davide Casale
38dbff1141 Apply black to all python files (bfxapi/**/*.py). 2024-02-26 19:43:14 +01:00
Davide Casale
2b7dfc5b8a Apply isort to all python files (bfxapi/**/*.py). 2024-02-26 19:36:10 +01:00
Davide Casale
5e50aa6f67 Fix bug in BfxWebSocketClient::on's arguments (bfxapi/websocket/_client/bfx_websocket_client.py). 2023-10-26 18:04:00 +02:00
Davide Casale
b082891c41 Remove useless and redundant docstrings from custom exceptions. 2023-10-26 06:53:35 +02:00
Davide Casale
c02d6d7bf8 Fix bug in module bfxapi.websocket._event_emitter. 2023-10-26 06:53:35 +02:00
Davide Casale
8e915e42eb Improve fidelity to pylint's standard rules. 2023-10-26 06:53:11 +02:00
Davide Casale
ddce83be0c Apply some refactoring to sub-package bfxapi.websocket. 2023-10-16 05:59:24 +02:00
Davide Casale
133db74a72 Add automatic deletion for buckets that reach zero subscriptions (e.g. after a call to BfxWebSocketClient::unsubscribe). 2023-10-16 04:45:47 +02:00
Davide Casale
e5ec94b757 Remove wss-event event from BfxWebSocketClient and BfxWebSocketBucket. 2023-10-13 17:38:25 +02:00
Davide Casale
374b632c6c Add pause/resume logic in class BfxWebSocketClient. 2023-10-13 17:05:11 +02:00
Davide Casale
122d692684 Rewrite all logic regarding connection multiplexing. 2023-10-13 05:44:26 +02:00
Davide Casale
25881e77c8 Fix and rewrite some logic in class BfxWebSocketClient. 2023-10-09 16:25:46 +02:00
Davide Casale
5ae576e36a Fix and rewrite all logic in class BfxWebSocketBucket. 2023-10-09 04:57:17 +02:00
Davide Casale
206ebe7941 Remove circular import from file bfx_websocket_client.py. 2023-10-09 04:56:37 +02:00
Davide Casale
22451f674e Remove inner class Connection.Authenticable (_connection.py). 2023-10-09 04:56:37 +02:00
Davide Casale
82a3307205 Fix bug in local class _Delay (bfx_websocket_client.py). 2023-10-09 04:56:37 +02:00
Davide Casale
ca4050a35b Rename event <disconnection> to <disconnected> (to mantain compliance). 2023-10-09 04:56:37 +02:00
Davide Casale
8a1632d3c2 Write new implementation for class BfxEventEmitter (bfxapi.websocket._event_emitter). 2023-10-09 04:56:34 +02:00
Davide Casale
f39b054397 Add implementation for BfxWebSocketClient::resubscribe and BfxWebSocketBucket::resubscribe. 2023-10-08 19:08:18 +02:00
Davide Casale
3038027f35 Add fix to handle InvalidStatusCode exception (for 408 Request Timeout). 2023-10-08 19:08:18 +02:00
Davide Casale
4ba6b28f5b Rename bfxapi._utils.logger to bfxapi._utils.logging (and update references). 2023-10-08 19:08:18 +02:00
Davide Casale
faffb7fe82 Add and implement new IncompleteCredentialError in bfxapi.client. 2023-10-08 19:07:44 +02:00
Davide Casale
755ee767a8 Improve bfxapi._utils.logger (and update usage in Client). 2023-06-23 17:09:03 +02:00
Davide Casale
bae48b2901 Improve wss_timeout implementation in BfxWebSocketClient. 2023-06-20 20:34:59 +02:00
Davide Casale
9edbd7a415 Rename bfxapi.utils to _utils (and update references). 2023-06-20 18:37:33 +02:00
Davide Casale
f1e678e043 Add type hinting support to bfxapi.websocket.client.bfx_websocket_client. 2023-06-20 18:37:21 +02:00
Davide Casale
080ec40395 Add sub-package bfxapi.websocket._event_emitter (with bfx_event_emitter.py). 2023-06-18 16:46:12 +02:00
Davide Casale
1d911a250c Rename bfxapi.websocket.client to _client and bfxapi.websocket.handlers to _handlers (according to PEP8). 2023-06-18 01:02:59 +02:00