42 Commits

Author SHA1 Message Date
b92a79b0c0 refactor!(connector): unify connector/redis_connector in one class 2024-02-26 14:49:43 +01:00
0337f13d04 fix(bec_lib): fix after refactoring 2024-02-23 07:21:22 +01:00
fcbc2402e4 fix(bec_lib): save guard device manager init 2024-02-23 07:21:22 +01:00
37a58ef5ce fix(devicemanager): fixed bug after refactoring 2024-02-14 12:49:00 +01:00
708aaff918 feat(devicemanager): added filter methods for continuous and on_request devices 2024-02-14 10:52:28 +01:00
15f8e21305 fix: removed outdated msgpack packing
fix: fixed return values of configs
2024-02-08 23:39:07 +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
80fddc5a4c fix(global var)!: remove builtins.__BEC_SERVICE__ 2024-02-07 12:10:42 +01:00
2eafba951a fix(flake8): apply flake8 to fix inconsistencies 2024-02-06 11:45:14 +01:00
1e2af9ae51 feat(ipython): represent objects using '__str__' rather than '__repr__' 2024-02-06 11:45:14 +01:00
37e74dc206 fix: fixed get_software_triggered_devices to excluded disabled devices, complement test case 2024-01-31 21:51:53 +01:00
d0d8db0c46 refactor: add sotwaretrigger to repr and show_all 2024-01-25 14:54:11 +01:00
98c7136a3a refactor: renamed detectors to get_software_triggered_devices and fixed access; closes #172, #173 2024-01-25 12:12:26 +01:00
675e74b42e feat: add softwareTrigger to dev._config 2024-01-25 12:12:26 +01:00
371175a295 fix: fix configupdate for readOnly 2024-01-25 12:12:26 +01:00
3cb7ae7cf9 fix: remove deviceType from device config and backend; closes #171 2024-01-24 12:15:57 +01:00
f08b7d414a test: added tests for describe and describe_configuration 2023-12-22 16:38:45 +01:00
wyzula-jan
17cc883355 fix: wrong reference for 'monitor' - changed from DeviceBase to Device 2023-12-21 14:57:25 +01:00
9acba36aa2 refactor: deprecated devicemanager_client 2023-12-18 16:50:50 +00:00
4ea93dcd48 fix: fixed wm behaviour 2023-12-15 23:05:43 +00:00
16c0a1d4d4 fix: fixed config_ack for incomplete messages 2023-12-15 19:56:46 +00:00
bc1c43e2da fix: added service acknowledgement for config updates; closes #79 2023-12-15 19:56:46 +00:00
4a27b9a1ec fix: remove redundant imports 2023-12-11 18:25:54 +01:00
4aa9ba4a8e fix: fix devicemanger get_deviceType_devices bug and add test 2023-12-11 18:23:17 +01:00
a68a809c4b refactor: adapt python310 Union and Optional style 2023-12-11 16:52:25 +00:00
ac14a73e8b refactor: replace deprecated imports from typing 2023-12-11 16:52:25 +00:00
8b610c2ee8 fix: fixed decorator order and raised error for new typeguard version 2023-12-11 16:13:17 +01:00
1ac5e5e8d3 build: support "typeguard>=3" 2023-12-11 14:12:42 +00:00
c39bdc13b5 fix: fix baseline_update 2023-12-11 13:28:33 +00:00
7d5c03b7b9 fix: clean up device_manager and scan_worker, add tests for baseline_devices; closes #144, #98 2023-12-11 13:28:33 +00:00
46d1cf97df fix: fixed config update in devicemanager 2023-12-11 13:28:33 +00:00
93172203b6 fix: fixed bec_lib after refactoring 2023-12-11 13:28:33 +00:00
5f48362667 feat: removed acquisition group and status from device config 2023-12-11 13:28:33 +00:00
e0e3a7158c fix: made rpc interface more consistent with ophyd 2023-12-05 14:29:13 +00:00
80ee353712 fix: changes related to new read signature 2023-11-19 15:11:06 +00:00
d362aae393 refactor: clean up 2023-11-19 15:11:06 +00:00
f491d40bac refactor: improved dev.show_all 2023-11-19 15:11:06 +00:00
f1327d4091 fix: added status eq dunder 2023-11-18 12:52:48 +00:00
0f3ab89875 test: added test for dyn device components 2023-11-17 12:21:15 +00:00
cc9227f893 refactor: make all type checking imports conditional 2023-11-10 11:54:18 +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