MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / handle_run

Method handle_run

tests/loadtest/tools/dashboard.py:58–63  ·  view source on GitHub ↗
(self, run_id: str)

Source from the content-addressed store, hash-verified

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")

Callers 1

do_GETMethod · 0.95

Calls 2

send_jsonMethod · 0.95
discover_runsFunction · 0.90

Tested by

no test coverage detected