fixed Module template __init__ definition

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2022-03-29 16:49:38 +00:00
parent e04245952a
commit b4766d1b3e

View File

@ -15,7 +15,7 @@ class Module(metaclass = abc.ABCMeta):
callable(subclass.run)
)
@abc.abstractmethod
def __init__(self, config, apikey, tbakey, timestamp, competition, *args, **kwargs):
def __init__(self, *args, **kwargs):
raise NotImplementedError
@abc.abstractmethod
def validate_config(self, *args, **kwargs):