refactor(kb): 重构kb api

This commit is contained in:
sophie committed 2026-06-29 20:05:13 +08:00
1 parent b476b58a91
commit d5e76dee36
30 files changed
+2713 -1691

No files matched your search

+4 -3
View File
@@ -1,9 +1,10 @@
"""
backend/app/api/schedule/__init__.py
用途:排程管理 Blueprint 入口(自 schedule_admin.py 收敛)。
逻辑:Wave 1 前 re-export 旧模块 blueprint。
用途:排程管理 Blueprint 入口(Wave 3:自 schedule_admin 单体迁入 _legacy)。
依赖:schedule/_legacy.py(路由实现)、schedule/* services。
逻辑:register_blueprints 从本包 import schedule_admin_bp;后续从 _legacy 拆 tasks.py / runs.py。
"""
from app.api.schedule_admin import schedule_admin_bp # noqa: F401
from app.api.schedule._legacy import schedule_admin_bp
__all__ = ['schedule_admin_bp']