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 42e2d93 commit 58ee5aeCopy full SHA for 58ee5ae
1 file changed
src/cattrs/converters.py
@@ -1252,7 +1252,7 @@ def gen_unstructure_attrs_fromdict(
1252
attribs = fields(origin or cl)
1253
if attrs_has(cl) and any(isinstance(a.type, str) for a in attribs):
1254
# PEP 563 annotations - need to be resolved.
1255
- resolve_types(cl)
+ resolve_types(origin or cl)
1256
attrib_overrides = {
1257
a.name: self.type_overrides[a.type]
1258
for a in attribs
0 commit comments