Skip to content

Commit

Permalink
Merge pull request #2153 from marshmallow-code/fix_call_to_get_declar…
Browse files Browse the repository at this point in the history
…ed_fields

Fix call to get_declared_fields: pass dict_cls
  • Loading branch information
lafrech authored Jul 20, 2023
2 parents 3d92995 + bdcd950 commit fc65bc2
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 @@ -117,6 +117,7 @@ def __new__(mcs, name, bases, attrs):
klass=klass,
cls_fields=cls_fields,
inherited_fields=inherited_fields,
dict_cls=dict,
)
return klass

Expand Down

0 comments on commit fc65bc2

Please sign in to comment.