from flask import Flask def create_app(): app = Flask(__name__) from api import document app.register_blueprint(document.bp) return app