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

Validation with Pydantic #82

Closed
mirkolenz opened this issue Mar 26, 2024 · 1 comment
Closed

Validation with Pydantic #82

mirkolenz opened this issue Mar 26, 2024 · 1 comment

Comments

@mirkolenz
Copy link
Member

It is already possible to manually use Pydantic with CBRkit (i.e., by not using our built-in loaders and using Pydantic models instead), but we currently do not have documentation on how to do it. We should add a corresponding section to the docstring in the file cbrkit.loaders.__init__.py.

Additionally, we should explore how to directly integrate Pydantic with the built-in loaders so that the user only needs to pass the Pydantic model in order to have the entire case base validated.

@mirkolenz
Copy link
Member Author

Implemented in #87

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

No branches or pull requests

1 participant