Skip to content

Commit 135888c

Browse files
committed
Fix make_dict_structure_fn return type annotation
1 parent 50ba769 commit 135888c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cattr/gen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def make_dict_structure_fn(
210210
_cattrs_use_linecache: bool = True,
211211
_cattrs_prefer_attrib_converters: bool = False,
212212
**kwargs,
213-
) -> Callable[[Mapping[str, Any]], T]:
213+
) -> Callable[[Mapping[str, Any], Any], T]:
214214
"""Generate a specialized dict structuring function for an attrs class."""
215215

216216
mapping = {}

0 commit comments

Comments
 (0)