예제 #1
0
파일: run.py 프로젝트: TsarN/pysistem
 def __init__(self, host='127.0.0.1', port=8000, workers=4):
     self.port = port
     self.host = host
     self.workers = workers
     Command.__init__(self)
예제 #2
0
 def __init__(self):
     Command.__init__(self, func=Problem.import_repository)
예제 #3
0
 def __init__(self, app: Flask) -> None:
     Command.__init__(self)
     self.app = app
예제 #4
0
 def __init__(self, app: Flask) -> None:
     Command.__init__(self)
     self.app = app
예제 #5
0
파일: babel.py 프로젝트: bayazee/flacon
 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")