MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / is_batch_cancelled

Method is_batch_cancelled

src/web/task_manager.py:334–337  ·  view source on GitHub ↗

检查批量任务是否已取消

(self, batch_id: str)

Source from the content-addressed store, hash-verified

332 return _batch_logs.get(batch_id, []).copy()
333
334 def is_batch_cancelled(self, batch_id: str) -> bool:
335 """检查批量任务是否已取消"""
336 status = _batch_status.get(batch_id, {})
337 return status.get("cancelled", False)
338
339 def cancel_batch(self, batch_id: str):
340 """取消批量任务"""

Callers 3

_workerFunction · 0.80
run_batch_parallelFunction · 0.80
run_batch_pipelineFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected