示例#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")