Replies: 1 comment
-
I believe you can use a models
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In pydantic v1, I can use
__pre_root_validators__
get root validators from BaseModel as well asvalidators
viafield.class_validators
.:But I can't find the corresponding method,when using Pydantic V2
Beta Was this translation helpful? Give feedback.
All reactions