(self, run_id: str)
| 56 | return |
| 57 | |
| 58 | def handle_run(self, run_id: str) -> None: |
| 59 | for run in discover_runs(scan_root): |
| 60 | if run.get("id") == run_id: |
| 61 | self.send_json(run) |
| 62 | return |
| 63 | self.send_error(HTTPStatus.NOT_FOUND, "Run not found") |
| 64 | |
| 65 | def send_json(self, payload: object) -> None: |
| 66 | body = json.dumps(payload).encode("utf-8") |
no test coverage detected