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 is an example on how to reload Flask app in runtime | |
It can be useful for the use case where you want to enable/disable blueprints/routes dynamically. | |
To run the app: | |
> pip install flask & python app.py | |
Then test it via curl |