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

[FEATURE] Adapt Pydantic for handling model configs #20

Open
szmazurek opened this issue Nov 3, 2024 · 1 comment
Open

[FEATURE] Adapt Pydantic for handling model configs #20

szmazurek opened this issue Nov 3, 2024 · 1 comment

Comments

@szmazurek
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Currently, model configs are separate classes, where validation of arguments and setting default ones happen manually.

Describe the solution you'd like

The entire config parsing and usage flow could be handled with Pydantic, which would simplify code, perform automatic type validation, and set the defaults. Also, if well prepared, such configs become a source for the easy creation of usage docs for a given module.

Describe alternatives you've considered

N.A

Additional context

Add any other context or screenshots about the feature request here.

Copy link
Contributor

github-actions bot commented Jan 3, 2025

Stale issue message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants