Added support for dynamic loaded modules

This commit is contained in:
2021-11-15 21:23:06 +01:00
parent a3bf5535f6
commit 562caeb10b
12 changed files with 110 additions and 34 deletions

View File

@@ -0,0 +1 @@
# imports

View File

@@ -0,0 +1,7 @@
from abc import ABC, abstractmethod
class ModuleABC(ABC):
@abstractmethod
def __init__(self): pass

View File

@@ -0,0 +1,14 @@
from abc import ABC, abstractmethod
from codecs import register
class ModuleServiceABC(ABC):
@abstractmethod
def __init__(self): pass
@abstractmethod
def register(self): pass
@abstractmethod
def start_modules(self): pass