Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flask extensions should use IBlueprint interface.
Flask extensions can register more than just routes for the app. So change the extension point from IRoutes, to IBlueprint, a very simple interface that has one method `get_blueprint`, enabling extensions to return Flask Blueprint objects to be registered with the Flask app at start up.
- Loading branch information
Showing
2 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters