Skip to content

Commit

Permalink
Fix typo in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rnag committed Nov 15, 2024
1 parent 8725b0b commit 8818b57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/advanced_usage/serializer_hooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ To customize the load process:
by the ``dataclass`` decorator.

To customize the dump process, simply implement
a ``__pre_as_dict__`` method which will be called
a ``_pre_dict`` method which will be called
whenever you invoke the ``to_dict`` or ``to_json``
methods. Please note that this will pass in the
original dataclass instance, so updating any values
Expand Down

0 comments on commit 8818b57

Please sign in to comment.