DiamondLightSource / fastcs-eiger

Prototype Eiger Control System Integration with FastCS
https://github.com/DiamondLightSource/FastCS
Apache License 2.0
1 stars 0 forks source link

Parse API metadata with pydantic #47

Open GDYendell opened 2 weeks ago

GDYendell commented 2 weeks ago

When receiving the metadata dictionary from the detector API the code currently manually checks for the existence of keys. It should use a pydantic model instead, so that later code can safely assume what fields are available from the type.

Acceptance Criteria