mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-11-09 22:44:44 +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)
|
||||
)
|
||||
@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):
|
||||
|
Loading…
Reference in New Issue
Block a user