(run_id: int)
| 186 | |
| 187 | @router.get("/runs/{run_id}") |
| 188 | def api_get_selfcheck_run(run_id: int): |
| 189 | run = get_selfcheck_run(run_id) |
| 190 | if not run: |
| 191 | raise HTTPException(status_code=404, detail="自检任务不存在") |
| 192 | return run |
| 193 | |
| 194 | |
| 195 | @router.post("/runs/{run_id}/cancel") |
nothing calls this directly
no test coverage detected