Open ashupednekar opened 5 months ago
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
is_classvar
_check_classvar
typing
Leaving the rest of the pydantic 2 support to #270 #279
Fixes #283
Only addressing the missing is_classvar in pydantic 2. Added a few methods in cbv.py.
Implemented
is_classvar
and_check_classvar
usingtyping
. Note: it's the exact code from pydantic v1 typing.py, so shouldn't break anythingLeaving the rest of the pydantic 2 support to #270 #279