def __init__(self, host='127.0.0.1', port=8000, workers=4): self.port = port self.host = host self.workers = workers Command.__init__(self)
def __init__(self): Command.__init__(self, func=Problem.import_repository)
def __init__(self, app: Flask) -> None: Command.__init__(self) self.app = app
def __init__(self, app): Command.__init__(self) self.app = app self.dir_name = os.path.join(app.root_path, "translations") self.messages_file_path = os.path.join(self.dir_name, "messages.pot")