After discussion with @coretl , we think it would be nice to convert our dataclasses for flyable information, eg TriggerInfo in detector.py, to pydantic dataclasses, as this would give us runtime type validation. See https://github.com/bluesky/ophyd-async/pull/425 for an example
Acceptance Criteria
All dataclasses associated with a Flyable is now done in pydantic. I may have missed some, but these include:
After discussion with @coretl , we think it would be nice to convert our dataclasses for flyable information, eg
TriggerInfo
indetector.py
, to pydantic dataclasses, as this would give us runtime type validation. See https://github.com/bluesky/ophyd-async/pull/425 for an exampleAcceptance Criteria
All dataclasses associated with a
Flyable
is now done in pydantic. I may have missed some, but these include:TriggerInfo
PcompInfo
SeqTableInfo