def create_app(self): app.register_blueprint(module_api) app.config.from_object(os.environ["APP_TESTING"]) return app
def create_app(): """ Return a object of flask configured and register blueprints. """ app.register_blueprint(module_api) return app