mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-11-12 22:26:18 +00:00
fixed Module template __init__ definition
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
e04245952a
commit
b4766d1b3e
@ -15,7 +15,7 @@ class Module(metaclass = abc.ABCMeta):
|
|||||||
callable(subclass.run)
|
callable(subclass.run)
|
||||||
)
|
)
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
def __init__(self, config, apikey, tbakey, timestamp, competition, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
def validate_config(self, *args, **kwargs):
|
def validate_config(self, *args, **kwargs):
|
||||||
|
Loading…
Reference in New Issue
Block a user