Skip to content

Commit

Permalink
fix: wrong return type (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
bzoracler authored Aug 9, 2024
1 parent 5fd0f5b commit 87eefe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cattrs/converters.py
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ def unstructure_optional(val, _handler=handler):

return unstructure_optional

def gen_structure_typeddict(self, cl: Any) -> Callable[[dict], dict]:
def gen_structure_typeddict(self, cl: Any) -> Callable[[dict, Any], dict]:
"""Generate a TypedDict structure function.
Also apply converter-scored modifications.
Expand Down

0 comments on commit 87eefe6

Please sign in to comment.