From 03989e1964f246099bc0dbd7354e1ef9a8c0303f Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Tue, 13 Sep 2022 17:04:44 -0400 Subject: [PATCH] Common: Add EVENT_TYPE_FIELD --- monkey/common/event_serializers/__init__.py | 1 + monkey/common/event_serializers/consts.py | 1 + 2 files changed, 2 insertions(+) create mode 100644 monkey/common/event_serializers/consts.py diff --git a/monkey/common/event_serializers/__init__.py b/monkey/common/event_serializers/__init__.py index 388edf6f3..c654f75f6 100644 --- a/monkey/common/event_serializers/__init__.py +++ b/monkey/common/event_serializers/__init__.py @@ -1,3 +1,4 @@ +from .consts import EVENT_TYPE_FIELD from .i_event_serializer import IEventSerializer, JSONSerializable from .event_serializer_registry import EventSerializerRegistry from .pydantic_event_serializer import PydanticEventSerializer diff --git a/monkey/common/event_serializers/consts.py b/monkey/common/event_serializers/consts.py new file mode 100644 index 000000000..5aee2263a --- /dev/null +++ b/monkey/common/event_serializers/consts.py @@ -0,0 +1 @@ +EVENT_TYPE_FIELD = "type"