Flask, Python, Web Development, Rest Api, Articles.
instead. This way, independent of our app, we are free to move our API part into a different module: (e.g. blueprint/api.py) from flask import Blueprint from flask_restplus import Api blueprint = Blueprint('api', __name__) api = Api(blueprint) # Bring in the rest of our API code here This leaves