Ejemplo n.º 1
0
 def __init__(self, host='127.0.0.1', port=8000, workers=4):
     self.port = port
     self.host = host
     self.workers = workers
     Command.__init__(self)
Ejemplo n.º 2
0
 def __init__(self):
     Command.__init__(self, func=Problem.import_repository)
Ejemplo n.º 3
0
 def __init__(self, app: Flask) -> None:
     Command.__init__(self)
     self.app = app
Ejemplo n.º 4
0
 def __init__(self, app: Flask) -> None:
     Command.__init__(self)
     self.app = app
Ejemplo n.º 5
0
 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")