Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse API metadata with pydantic #47

Open
GDYendell opened this issue Sep 3, 2024 · 0 comments
Open

Parse API metadata with pydantic #47

GDYendell opened this issue Sep 3, 2024 · 0 comments

Comments

@GDYendell
Copy link
Contributor

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

  • EigerParameter should have fields for all metadata items that are validated on creation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant