We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use flask factory mode, register docs in create_app, by got TypeError.
def create_app(): app = Flask(__name__) # config app.config.from_object(config) # register urls app.register_blueprint(drogo_openid) app.register_blueprint(api) # api app.register_blueprint(admin) app.register_blueprint(error) # error register_extensions(app) register_docs(app) return app def register_blueprint(app): pass def register_extensions(app): docs.init_app(app) def register_docs(app): for (fpath, view_function) in app.view_functions.items(): blueprint_name = fpath.split('.')[0] if ismethod(view_function): docs.register(view_function, blueprint=blueprint_name)
In addition, use docs.register(...) in create_app got the same error, Please help
docs.register(...)
The text was updated successfully, but these errors were encountered:
Any solution ? I have the same issue :(
Sorry, something went wrong.
No branches or pull requests
I use flask factory mode, register docs in create_app, by got TypeError.
In addition, use
docs.register(...)
in create_app got the same error, Please helpThe text was updated successfully, but these errors were encountered: