Skip to content

Commit

Permalink
Update docs/concepts/serialization.md
Browse files Browse the repository at this point in the history
Co-authored-by: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com>
  • Loading branch information
ornariece and sydney-runkle committed Mar 13, 2024
1 parent 3ac8707 commit fa14490
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/concepts/serialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ print(Model(x='test value').model_dump_json())
#> {"x":"serialized test value"}
```

!!! note A single serializer can also be called on all fields by passing the special value '*' to the [`@field_serializer`][pydantic.functional_serializers.field_serializer] decorator.
!!! note
A single serializer can also be called on all fields by passing the special value '*' to the [`@field_serializer`][pydantic.functional_serializers.field_serializer] decorator.


In addition, [`PlainSerializer`][pydantic.functional_serializers.PlainSerializer] and
Expand Down

0 comments on commit fa14490

Please sign in to comment.