auto-sync: 2026-05-18 12:05:25

This commit is contained in:
cfdaily
2026-05-18 12:05:25 +08:00
parent 9ec2e2da3f
commit a5a5191654
+1 -2
View File
@@ -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")