Common: Don't pass 'data' argument to IEventQueue's publish()

This commit is contained in:
Shreya Malviya 2022-08-10 13:26:01 +05:30
parent 3938e2f377
commit d154a7989c
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
from abc import ABC, abstractmethod from abc import ABC, abstractmethod
from typing import Any, Callable from typing import Callable
from common.events import AbstractEvent from common.events import AbstractEvent
@ -44,7 +44,7 @@ class IEventQueue(ABC):
pass pass
@abstractmethod @abstractmethod
def publish(self, event: AbstractEvent, data: Any): def publish(self, event: AbstractEvent):
""" """
Publishes an event with the given data Publishes an event with the given data