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
{{ message }}
Repository navigation
Allow HasName object to be added to inject of plans #1462
Currently, MX are needing access to objects inside plans which are not devices, for example the daq-config-server ConfigClient. They are currently achieving this via a mix of dependency injection and global states. See DiamondLightSource/dodal#1997 for details.
Currently BlueAPI only supports the concept of a Device from ophyd-async. I originally suggested wrapping the ConfigClient with Device, but it was rightly pointed out this isn't a device (DiamondLightSource/dodal#1798 (comment)).
My suggestion is to allow any objects with HasName Bluesky protocol can be used with inject so that any object with a name can be found within plans, allowing for much more flexibility with BlueAPI as we have clear distinction on objects which are devices and not devices and still accessible inside plans.
Activity
tpoliaw commentedon Mar 31, 2026
HasNameused to be accepted but caused problems and was removed in #873. I'm not sure if it could be re-enabled without bringing the bugs back.