Commit Graph

11 Commits

Author SHA1 Message Date
itsdeka
ae42fb7d93 Add _RecursiveSerializer class in bfxapi/labeler.py file. Add support to new pulse endpoints (with serializers and types). Add examples/rest/get_pulse_data.py demo. 2023-01-24 18:16:11 +01:00
Davide Casale
5fe4d83902 Move subscriptions type hinting from bfxapi/websocket/types.py to bfxapi/websocket/subscriptions.py. 2023-01-19 18:00:51 +01:00
Davide Casale
6f8e37cad0 Fix all mypy errors and warnings due to new dataclass implementation. 2023-01-16 18:27:03 +01:00
Davide Casale
2afcc76647 Fix bug regarding new typing with dataclasses. 2023-01-16 18:18:12 +01:00
Davide Casale
1613a56d81 Rename bfxapi/rest/typings.py to bfxapi/rest/types.py. 2023-01-16 16:40:14 +01:00
Davide Casale
0bb9f65a19 Replace SimpleNamespaces with dataclasses. Add base class _Typing in labeler.py to convert dictionaries to dataclasses. Remove SimpleNamespace references. 2023-01-16 16:30:06 +01:00
Davide Casale
903f68c6e3 Add support for SimpleNamespace (instead of TypedDict) in bfxapi/labeler.py and bfxapi/notifications.py. Add generics Notification type in notifications.py. Add support for new changes in bfxapi/rest/BfxRestInterface.py. 2023-01-13 18:15:29 +01:00
Davide Casale
4f63f4068e Add and implement notification.py in root package (bfxapi). 2022-12-22 18:24:56 +01:00
Davide Casale
2595b8a760 Fix mypy errors and warnings in bfxapi/labeler.py script. 2022-12-15 19:21:19 +01:00
Davide Casale
24b105378a Add hierarchy logic to custom exceptions. 2022-12-15 19:14:00 +01:00
Davide Casale
c9f86d6d03 Add labeler.py to root package (bfxapi). Remove List aliases in bfxapi/rest/typings.py. Update BfxRestInterface.py to use new standards. 2022-12-15 19:07:55 +01:00