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
[RFC] Pydantic Schema Validation #1045
Comments
Some of this has been already discussed on #608 |
There is a downside I overlooked about using composition over inheritance that I've overlooked in our last discussion: we don't get auto-complete out of the box (with composition), which is a very requested feature related to schema-based config. |
@pedro-psb we can fix that with composition, python is very permissive. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This RFE has potential to replace the proposal I made on #683
Which is the support for the following snippet
Details:
validators
working with no regression, the only caveat is that the user must choose only one validation strategy to use to avoid confusionssettings.as_dict()
must be transformed to the proper case, the way it is defined on the schema (not sure if pydantic allows case insensitivity)The text was updated successfully, but these errors were encountered: