def create_app(self): self.current_app = app.create_app( **{'EXPORT_SERVICE_MAX_RECORDS_SOLR_QUERY': 10}) return self.current_app
def create_app(self): app_ = app.create_app() return app_
# -*- coding: utf-8 -*- """ wsgi ~~~~ entrypoint wsgi script """ import os from werkzeug.serving import run_simple from exportsrv import app application = app.create_app() if __name__ == "__main__": run_simple('0.0.0.0', 5000, application, use_reloader=True, use_debugger=True)