From 06c4fc95781fb805a565fefd04ce24d40e278199 Mon Sep 17 00:00:00 2001 From: Ian Bentley Date: Mon, 4 Sep 2023 16:29:21 -0400 Subject: [PATCH] re-add removed comment --- dataclasses_json/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataclasses_json/core.py b/dataclasses_json/core.py index 29169442..9515246b 100644 --- a/dataclasses_json/core.py +++ b/dataclasses_json/core.py @@ -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: