Skip to content
New issue

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

flask.ext.autodoc is deprecated, use flask_autodoc #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

argolo
Copy link

@argolo argolo commented Dec 25, 2017

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.

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.
@jwg4
Copy link
Contributor

jwg4 commented Feb 8, 2018

@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.

@komailo
Copy link

komailo commented May 8, 2018

any update?

@kjohnsen
Copy link

Please merge this...imports break in Flask 1.0.2

@jpds
Copy link

jpds commented May 31, 2018

I've had to go around and disable autodoc on all my now Flask-1.0.2 microservices.

@sdanbury
Copy link

Getting the same issue now I have upgraded to Flask==1.0.2, anything I can do to help and get this through?

@jwg4
Copy link
Contributor

jwg4 commented May 31, 2018

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 ;)

@sdanbury
Copy link

Thanks @jwg4, it looks like flask-selfdoc could be pretty much a drop-in replacement. I will have a look in more detail tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants