PMFlow/backend/app/api/ai_pmo_api/__init__.py

13 lines
400 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

from __future__ import annotations
from fastapi import APIRouter
from . import routes_cadence, routes_core, routes_resume
# 路由前缀由子模块共享 router 统一承载;包级聚合只保留 tags,避免重复挂载 /ai-pmo。
router = APIRouter(tags=["AI PMO"])
for _module in [routes_core, routes_resume, routes_cadence]:
router.include_router(_module.router)
__all__ = ["router"]