diff --git a/monkey/common/event_serializers/i_event_serialize.py b/monkey/common/event_serializers/i_event_serialize.py index 75d95be3c..a092946ab 100644 --- a/monkey/common/event_serializers/i_event_serialize.py +++ b/monkey/common/event_serializers/i_event_serialize.py @@ -3,8 +3,14 @@ from typing import Dict, List, Union from common.events import AbstractAgentEvent -JSONSerializable = Union[ - Dict[str, "JSONSerializable"], List["JSONSerializable"], int, str, float, bool, None +JSONSerializable = Union[ # type: ignore[misc] + Dict[str, "JSONSerializable"], # type: ignore[misc] + List["JSONSerializable"], # type: ignore[misc] + int, + str, + float, + bool, + None, ]