[Flask] Getting routes of a blueprint
josh.milas at gmail.com
Thu Sep 29 18:50:15 EDT 2016
Is there a way to get the routes defined in a blueprint? I know this (
http://flask.pocoo.org/snippets/117/) snippit exists, but requires to have
the app initalized to use url_map. Is there a way to view the routes
without an application? I'm developing an api with flask-restful and I
would like to display the routes from within the blueprint without the app
to keep it self contained.
- Joshua Milas
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Flask