auto-sync: 2026-05-18 12:05:25
This commit is contained in:
@@ -85,8 +85,7 @@ async def create_task(project_id: str, body: Dict[str, Any]):
|
||||
@router.get("/tasks/{task_id}/progress")
|
||||
async def task_progress(project_id: str, task_id: str):
|
||||
"""Task Stage 进度(含子 Task 统计)"""
|
||||
from src.blackboard.queries import Queries
|
||||
queries = Queries(_db_path(project_id))
|
||||
queries = _q(project_id)
|
||||
progress = queries.parent_task_progress(task_id)
|
||||
if not progress:
|
||||
raise HTTPException(404, "Task not found")
|
||||
|
||||
Reference in New Issue
Block a user