Skip to content

Commit

Permalink
Update serialization.md
Browse files Browse the repository at this point in the history
fixed linting
  • Loading branch information
ornariece committed Mar 13, 2024
1 parent fa14490 commit f7d8f08
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/concepts/serialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,7 @@ 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 f7d8f08

Please sign in to comment.