12 Commits

Author SHA1 Message Date
b92a79b0c0 refactor!(connector): unify connector/redis_connector in one class 2024-02-26 14:49:43 +01:00
1236069b36 fix(scan_server): fixed expected message type for device progress update 2024-02-24 11:06:15 +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
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
de5da559a6 refactor: move bec_lib test utils out of core folder 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
f43d4ebac6 refactor: moved utils into bec_client_lib 2023-06-01 18:01:42 +02:00
fb4fa18321 test: fixed tests for new kickoff interface 2023-05-03 18:48:45 +02:00
c611de675f added test for rpc errors; closes #55 2022-11-01 16:18:12 +01:00
cb47b2ab00 added scan stubs tests 2022-10-12 16:41:59 +02:00