We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For PlainSerializer, model_serializer, and field_serializer.
PlainSerializer
model_serializer
field_serializer
The text was updated successfully, but these errors were encountered:
What about the documentation here: https://docs.pydantic.dev/latest/concepts/serialization/#custom-serializers
Sorry, something went wrong.
@debakarr,
Right, but we want to have examples in the API docs as well
functional_serializers
@sydney-runkle,
I've opened a PR and I managed to document examples consistently for 3 of them. Hope it make sense.
Also, let's add an example for WrapSerializer to round out the additions to functional_serializers.py.
WrapSerializer
functional_serializers.py
Closed by #8546
sydney-runkle
No branches or pull requests
For
PlainSerializer
,model_serializer
, andfield_serializer
.The text was updated successfully, but these errors were encountered: