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 747f364 commit f61370cCopy full SHA for f61370c
1 file changed
src/marshmallow/schema.py
@@ -633,7 +633,7 @@ def _deserialize(
633
else:
634
partial_is_collection = is_collection(partial)
635
for attr_name, field_obj in self.load_fields.items():
636
- field_name = field_obj.data_key
+ field_name = typing.cast(str, field_obj.data_key)
637
raw_value = data.get(field_name, missing)
638
if raw_value is missing:
639
# Ignore missing field if we're allowed to.
0 commit comments