From 964c3650057d4c0f47796469789d16eed7966e80 Mon Sep 17 00:00:00 2001 From: Ian Bentley Date: Mon, 4 Sep 2023 16:28:49 -0400 Subject: [PATCH] revert unneeded warning change --- 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 f8dc933a..29169442 100644 --- a/dataclasses_json/core.py +++ b/dataclasses_json/core.py @@ -325,7 +325,7 @@ def _decode_generic(type_, value, infer_missing): continue if not changed: warnings.warn( - f"Failed encoding {value} Union dataclasses." + f"Failed to encode {value} Union dataclasses." f"Expected Union to include a dataclass and it didn't." ) return res