Skip to content

Commit

Permalink
re-add removed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
idbentley committed Sep 4, 2023
1 parent 964c365 commit 06c4fc9
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
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 06c4fc9

Please sign in to comment.