Is there a way to register serializers/validators globally? #9441
erezinman
started this conversation in
Pydantic V2
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It can also be model specific, but should affect all underlying annotations. For example:
In the above example, I wish to be able to be handle
pd.Timestamp
without using a special annotation.Beta Was this translation helpful? Give feedback.
All reactions