def configure_blueprints(app): from api import api from lib import errors app.register_blueprint(api) app.register_blueprint(errors)