From e790828d393998f695f38472d30806f497d9c63d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl?= Date: Tue, 17 Oct 2023 19:45:00 +0200 Subject: [PATCH] fix mypy warning when assigning to dataclass_json_config (#486) --- dataclasses_json/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataclasses_json/api.py b/dataclasses_json/api.py index 9d05a977..3481e93f 100644 --- a/dataclasses_json/api.py +++ b/dataclasses_json/api.py @@ -21,7 +21,7 @@ class DataClassJsonMixin(abc.ABC): As with other ABCs, it should not be instantiated directly. """ - dataclass_json_config = None + dataclass_json_config: Optional[dict] = None def to_json(self, *,