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

Support Pydantic 2 - is_classvar #284

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ashupednekar
Copy link

Fixes #283

Only addressing the missing is_classvar in pydantic 2. Added a few methods in cbv.py.

Implemented is_classvar and _check_classvar using typing.
Note: it's the exact code from pydantic v1 typing.py, so shouldn't break anything

Leaving the rest of the pydantic 2 support to #270 #279

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

Successfully merging this pull request may close these issues.

Pydantic 2 support - is_classvar
1 participant