You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the children function on a device checks if the Device has any direct attributes that are Devices. This results in the following:
classMyDevice(Device):
def__init__():
self.channels= [epics_signal_r(float, f"A"), epics_signal_r(float, f"B")]
my_device.connect() # channels will not get connected here
If you use a DeviceVector (and please write docs for it too!) then this will work
DominicOram
changed the title
Discussion: Should children automaticaaly traverse more of the object
Discussion: Should children automaticaly traverse more of the object
Nov 2, 2023
Currently the
children
function on a device checks if theDevice
has any direct attributes that areDevices
. This results in the following:The fix for this is something like:
@coretl, @callumforrester - I feel like we may have discussed this already but needs writing down
Acceptance Criteria
children
should be more cleverThe text was updated successfully, but these errors were encountered: