def __init__(self, app, options=None): """ :param app: :param options: """ BaseApplication.__init__(self, app, options) WSGIServer.__init__(self)
def run(self): if not self.app.check_thread_support(): raise RuntimeError( "Database configuration is not suitable for deployment (not thread-safe)." ) self.app.start_indexing() return BaseApplication.run(self)
def run(self): if not self.app.supports_threads: raise RuntimeError( "Database configuration is not suitable for deployment (not thread-safe)." ) return BaseApplication.run(self)
def __init__(self, *args, **kwargs): KnowledgeDeployer.__init__(self, *args, **kwargs) BaseApplication.__init__(self)
def run(self): """ """ WSGIServer.run(self)
def __init__(self, app, config) -> None: self.app = app self.config = config BaseApplication.__init__(self)
def run(self): if not self.app.check_thread_support(): raise RuntimeError("Database configuration is not suitable for deployment (not thread-safe).") return BaseApplication.run(self)
def execute(self): GunicornBaseEngine.run(self)
def __init__(self, app): self.app = app GunicornBaseEngine.__init__(self)
def __init__(self, *args, **kwargs): QualipyDeployer.__init__(self, *args, **kwargs) BaseApplication.__init__(self)
def run(self): WSGIServer.run(self)
def __init__(self, app, options=None): assert WSGIServer is not object, "you must install 'gunicorn'" BaseApplication.__init__(self, app, options) WSGIServer.__init__(self)