Skip to content

Commit

Permalink
Document Schema.dict_class (#2763)
Browse files Browse the repository at this point in the history
  • Loading branch information
sloria authored Jan 12, 2025
1 parent 4113c8a commit 59050fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/marshmallow/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ def __repr__(self) -> str:

@property
def dict_class(self) -> type[dict]:
"""`dict` type to return when serializing."""
if self.ordered:
return OrderedDict
else:
Expand Down

0 comments on commit 59050fc

Please sign in to comment.