setting velocity and cannot read it back (except if cached=False)
(observed while working on !426 (merged) )
87 -> dev.samx.velocity.set(10)
88 assert dev.samx.velocity.read()["samx_velocity"]["value"] == 10
89 assert dev.samx.velocity.read(cached=False)["samx_velocity"]["value"] == 10
90 assert dev.samx.read_configuration()["samx_velocity"]["value"] == 10
91 assert dev.samx.read_configuration(cached=False)["samx_velocity"]["value"] == 10
92
(Pdb) n
> /home/matias/dev/bec/bec_client/tests/end-2-end/test_scans_lib.py(88)test_config_updates()
-> assert dev.samx.velocity.read()["samx_velocity"]["value"] == 10
(Pdb) n
KeyError: 'value'
> /home/matias/dev/bec/bec_client/tests/end-2-end/test_scans_lib.py(88)test_config_updates()
-> assert dev.samx.velocity.read()["samx_velocity"]["value"] == 10
(Pdb) dev.samx.velocity.read()
{'samx_velocity': {}}
(Pdb) dev.samx.velocity.read(cached=False)
{'samx_velocity': {'value': 10, 'timestamp': 1707409250.640539}}
(Pdb) dev.samx.velocity.set(15)
<bec_lib.device.Status object at 0x7f36892cdfd0>
(Pdb) dev.samx.velocity.read(cached=False)
{'samx_velocity': {'value': 15, 'timestamp': 1707409280.877182}}
(Pdb) dev.samx.velocity.read()
{'samx_velocity': {}}