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

Add an ability to remove variable style validators #133

Open
zmievsa opened this issue Jan 29, 2024 · 0 comments
Open

Add an ability to remove variable style validators #133

zmievsa opened this issue Jan 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@zmievsa
Copy link
Owner

zmievsa commented Jan 29, 2024

Currently, our schema().validator().didnt_exist only supports functional style but pydantic 2 also has support for variable style validators: https://docs.pydantic.dev/2.0/usage/validators/#reuse-validators

It will be hard and likely unnecessary to support their addition but let's at least support their deletion.

@zmievsa zmievsa added the enhancement New feature or request label Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant