b976fb4a08
test: added test for file events
2024-09-05 18:33:37 +02:00
a70af8f58c
refactor: ScanItem attributes bec and callback made private
2024-09-05 16:34:49 +02:00
46738ad259
test: fix tests
2024-09-05 16:34:49 +02:00
1c628fd610
fix: do not import modules if only for type checking (faster import)
2024-05-17 09:04:52 +02:00
95ac2055eb
refactor: moved messages to pydantic
2024-04-10 10:28:14 +02:00
996809f3a0
refactor: renamed queueID to queue_id
2024-03-22 15:07:19 +01:00
01b4e9cc68
refactor: renamed scanID to scan_id
2024-03-22 15:06:14 +01:00
a4adb64f5f
refactor: endpoints return EndpointInfo object instead of string
2024-03-05 17:05:40 +01:00
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
1e2af9ae51
feat(ipython): represent objects using '__str__' rather than '__repr__'
2024-02-06 11:45:14 +01:00
ce67a291eb
test: fixed test for scan status events
2024-01-30 20:31:03 +01:00
6cfff5a529
feat: added scan_data to simplify the access to the scan storage
2023-11-21 10:17:38 +00: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