Common: Modify IslandEventTopic enum to not have values

This commit is contained in:
Shreya Malviya 2022-09-06 18:07:25 +05:30
parent 27c8a1019b
commit 1a09f26fd9
1 changed files with 3 additions and 5 deletions

View File

@ -4,11 +4,9 @@ from typing import Any
from . import IslandEventSubscriber from . import IslandEventSubscriber
IslandEventTopic = Enum(
class IslandEventTopic(Enum): "IslandEventTopic", ["AGENT_CONNECTED", "CLEAR_SIMULATION_DATA", "RESET_AGENT_CONFIGURATION"]
AGENT_CONNECTED = "agent_connected" )
CLEAR_SIMULATION_DATA = "clear_simulation_data"
RESET_AGENT_CONFIGURATION = "reset_agent_configuration"
class IIslandEventQueue(ABC): class IIslandEventQueue(ABC):