diff --git a/monkey/common/event_queue/i_island_event_queue.py b/monkey/common/event_queue/i_island_event_queue.py index c8e5115a9..f5e8ea5c3 100644 --- a/monkey/common/event_queue/i_island_event_queue.py +++ b/monkey/common/event_queue/i_island_event_queue.py @@ -4,11 +4,9 @@ from typing import Any from . import IslandEventSubscriber - -class IslandEventTopic(Enum): - AGENT_CONNECTED = "agent_connected" - CLEAR_SIMULATION_DATA = "clear_simulation_data" - RESET_AGENT_CONFIGURATION = "reset_agent_configuration" +IslandEventTopic = Enum( + "IslandEventTopic", ["AGENT_CONNECTED", "CLEAR_SIMULATION_DATA", "RESET_AGENT_CONFIGURATION"] +) class IIslandEventQueue(ABC):