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
Recently importing our plans (mx-bluesky/hyperion) into the BlueApi context started failing with a new (2.10) version of pydantic, which when running create_model on the plan arguments fails when one is a dataclasses.dataclass containing devices, because the devices don't implement __get_pydantic_core_schema__. This would have been substantially easier to diagnose if we had the information that exceptions had occurred during the above functions available to us when running them
Acceptance Criteria
these methods have return values that allow the caller to determine if an exception happened and some info about it
The text was updated successfully, but these errors were encountered:
@callumforrester yes, related in the sense that we weren't getting errors from these above-mentioned functions when setting up our context, with plans that take dataclass device-composite args, but I can imagine other situations where it'd be useful too
Recently importing our plans (mx-bluesky/hyperion) into the BlueApi context started failing with a new (2.10) version of pydantic, which when running
create_model
on the plan arguments fails when one is adataclasses.dataclass
containing devices, because the devices don't implement__get_pydantic_core_schema__
. This would have been substantially easier to diagnose if we had the information that exceptions had occurred during the above functions available to us when running themAcceptance Criteria
these methods have return values that allow the caller to determine if an exception happened and some info about it
The text was updated successfully, but these errors were encountered: