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

Method get_batch_logs

src/web/task_manager.py:329–332  ·  view source on GitHub ↗

获取批量任务日志

(self, batch_id: str)

Source from the content-addressed store, hash-verified

327 return _batch_status.get(batch_id)
328
329 def get_batch_logs(self, batch_id: str) -> List[str]:
330 """获取批量任务日志"""
331 with _get_batch_lock(batch_id):
332 return _batch_logs.get(batch_id, []).copy()
333
334 def is_batch_cancelled(self, batch_id: str) -> bool:
335 """检查批量任务是否已取消"""

Callers 1

Calls 2

_get_batch_lockFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected