Event value from config_obj_property_setting as exposed as string
Here you can see that the
value is a string, while it would be good to expose it as the new object set to the event.
This makes the callback value unusable.
DEMO_SESSION : from bliss.common import event ...: def callback(value, signal=None, sender=None): ...: print(value, type(value), signal, sender) ...: event.connect(hrimaging, "optic", callback) DEMO_SESSION : hrimaging.optic = tomo2cam_magnification DEMO_SESSION : tomo2cam_magnification <class 'str'> optic <tomo.TomoImaging.TomoImaging object at 0x7fc7ebafc710>
Maybe the better way to fix that is to create a new
config_obj_property_setting with the expected behaviour, in order to avoid regression.