from flask import Blueprint bp = Blueprint("data_service", __name__) # 导入 routes 模块以注册路由(副作用导入) from app.api.data_service import routes # noqa: E402, F401, I001 # pyright: ignore[reportUnusedImport]