11 Commits

Author SHA1 Message Date
b92a79b0c0 refactor!(connector): unify connector/redis_connector in one class 2024-02-26 14:49:43 +01:00
8bbfd10ca7 refactor(messages)!: messages refactoring, new serialization module
To have a better separation of concern between messages and how they are conveyed in connectors.
BECMessage can be simple dataclasses, leaving the serialization to the connector which transport those.
The serialization module itself can be isolated, and in the case of msgpack it can be extended to
understand how to encode/decode BECMessage, to simplify writing code like with BundleMessage or to
be able to automatically encode numpy or BECStatus objects.
Finally, client objects (producers and consumers) can receive BECMessage objects instead of having
to dump or load themselves.
2024-02-07 12:43:52 +01:00
9acba36aa2 refactor: deprecated devicemanager_client 2023-12-18 16:50:50 +00:00
8b610c2ee8 fix: fixed decorator order and raised error for new typeguard version 2023-12-11 16:13:17 +01:00
06f2d781ae refactor: rename module BECMessage -> messages
This should help to avoid confusion between BECMessage module and
BECMessage class located in the same module
2023-11-10 10:28:53 +01:00
524ef24da0 refactor: flatten bec_lib structure 2023-11-10 10:24:33 +01:00
7166c8b5ee refactor: make bec_lib imports absolute 2023-11-10 10:22:51 +01:00
de5da559a6 refactor: move bec_lib test utils out of core folder 2023-11-10 10:22:51 +01:00
171a5c6609 refactor: remove unused imports in bec_lib 2023-11-10 10:22:51 +01:00
146898ec3f refactor: run isort on all files
$ isort . --profile=black --line-width=100 --multi-line=3 --trailing-comma
2023-11-10 10:22:47 +01:00
a944e43e1a feat: renamed bec_client_lib to bec_lib 2023-06-28 11:04:24 +02:00