from abc import ABC, abstractmethod class AbstractModule(ABC): """docstring for Module.""" def __init__(self): super(AbstractModule, self).__init__() @abstractmethod def run(self): pass