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

Use pydantic instead of dataclasses to define configs? #22

Open
sfmig opened this issue Oct 4, 2023 · 0 comments
Open

Use pydantic instead of dataclasses to define configs? #22

sfmig opened this issue Oct 4, 2023 · 0 comments
Labels
question Further information is requested

Comments

@sfmig
Copy link
Contributor

sfmig commented Oct 4, 2023

For the workflows we typically define a configuration with all the required parameters.

For now we are using dataclasses, but we might want to move to pydantic or attrs for implicit validation. Maybe spend some time thinking pros/cons. The transition (at least to pydantic) doesn't seem too painful.

@sfmig sfmig added the question Further information is requested label Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Status: Backlog
Development

No branches or pull requests

1 participant