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
Classes that only extend Device aren't treated as BlueskyDevices #1369
If a plan accepts a parameter that is typed as a class that extends only Device but not any of the bluesky protocols, it is not recognised as a bluesky device and doesn't have the reference type added that supports passing devices by name.
When trying to run this plan using a string name as the argument for demo, the error returned will be of the form Input should be an instance of Demo instead of the expected Value error, Device demo is not of type sample_plans.Demo.
Activity
tpoliaw commentedon Jan 30, 2026
I think this is down to a difference in how Protocols work compared to classes in the
isinstancetest.