Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
idbentley committed Sep 4, 2023
1 parent 06c4fc9 commit 4ac995c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataclasses_json/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def _decode_generic(type_, value, infer_missing):
res = _support_extended_types(type_arg, value)
else: # Union (already decoded or try to decode a dataclass)
type_options = _get_type_args(type_)
res = value # assume already decoded
res = value # assume already decoded
if type(value) is dict and dict not in type_options:
changed = False
for type_option in type_options:
Expand Down

0 comments on commit 4ac995c

Please sign in to comment.