We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f788111 commit 64c268dCopy full SHA for 64c268d
src/marshmallow/schema.py
@@ -663,7 +663,7 @@ def _deserialize(
663
index=index,
664
)
665
if value is not missing:
666
- key = field_obj.attribute
+ key = typing.cast(str, field_obj.attribute)
667
set_value(ret_d, key, value)
668
if unknown != EXCLUDE:
669
fields = {field_obj.data_key for field_obj in self.load_fields.values()}
0 commit comments