Improved dynamic modules support
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
from abc import ABC, abstractmethod
|
||||
from cpl_query.extension import List
|
||||
|
||||
from modules_core.events_enum import EventsEnum
|
||||
|
||||
class ModuleABC(ABC):
|
||||
|
||||
@abstractmethod
|
||||
def __init__(self): pass
|
||||
|
||||
# @property
|
||||
# @abstractmethod
|
||||
# def events(self) -> List[EventsEnum]: pass
|
||||
|
@@ -8,7 +8,4 @@ class ModuleServiceABC(ABC):
|
||||
def __init__(self): pass
|
||||
|
||||
@abstractmethod
|
||||
def register(self): pass
|
||||
|
||||
@abstractmethod
|
||||
def start_modules(self): pass
|
||||
async def start_modules(self): pass
|
||||
|
Reference in New Issue
Block a user