Open argolo opened 6 years ago
@acoomans Is there any chance this could be merged? It is a simple fix, and there are three Pull Requests for this, which suggests a lot of people would like this warning to be removed.
any update?
Please merge this...imports break in Flask 1.0.2
I've had to go around and disable autodoc on all my now Flask-1.0.2 microservices.
Getting the same issue now I have upgraded to Flask==1.0.2, anything I can do to help and get this through?
I have forked this package to get Flask-Selfdoc which is available at https://github.com/jwg4/flask-selfdoc and also via pip on the main pypi server. So far I have only made a couple of changes, including fixing this import problem, which causes a warning on versions of flask before 1.0.2 and fails with that version. Some more changes are in the pipeline, but the basic interface will remain completely compatible with code using Flask-Autodoc. Feedback, PRs gratefully received. Let me know if you have any trouble with it @sdanbury ;)
Thanks @jwg4, it looks like flask-selfdoc could be pretty much a drop-in replacement. I will have a look in more detail tomorrow.
As of Flask 0.11, most Flask extensions have transitioned to the new naming schema. The flask.ext.foo compatibility alias is still in Flask 0.11 but is now deprecated – you should use flask_foo.