aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/infini/event.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/infini/event.py b/src/infini/event.py
index 555dec57..649103c9 100644
--- a/src/infini/event.py
+++ b/src/infini/event.py
@@ -1,4 +1,4 @@
-from abc import ABCMeta
+from abc import ABCMeta, abstractmethod
from .typing import Dict, Any
__all__ = [
@@ -15,6 +15,7 @@ class InfiniEvent(metaclass=ABCMeta):
name: str
kwargs: Dict[str, Any]
+ @abstractmethod
def __repr__(self) -> str:
raise NotImplementedError