Skip to content

Commit

Permalink
revert unneeded warning change
Browse files Browse the repository at this point in the history
  • Loading branch information
idbentley committed Sep 4, 2023
1 parent 74995fb commit 964c365
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 @@ -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
Expand Down

0 comments on commit 964c365

Please sign in to comment.