From 71e9f68fe6102fbeabe265c6b7faa3c8117d0d4f Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Tue, 6 Sep 2022 13:05:35 +0530 Subject: [PATCH] Common: Fix IslandEventTopics enum values --- monkey/common/event_queue/i_island_event_queue.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/monkey/common/event_queue/i_island_event_queue.py b/monkey/common/event_queue/i_island_event_queue.py index f7bc60c5f..8066b1385 100644 --- a/monkey/common/event_queue/i_island_event_queue.py +++ b/monkey/common/event_queue/i_island_event_queue.py @@ -1,12 +1,12 @@ from abc import ABC, abstractmethod -from enum import Enum, auto +from enum import Enum from typing import Any, Callable class IslandEventTopics(Enum): - AGENT_CONNECTED = auto() - CLEAR_SIMULATION_DATA = auto() - RESET_AGENT_CONFIGURATION = auto() + AGENT_CONNECTED = "agent_connected" + CLEAR_SIMULATION_DATA = "clear_simulation_data" + RESET_AGENT_CONFIGURATION = "reset_agent_configuration" class IIslandEventQueue(ABC):