MCPcopy
hub / github.com/shareAI-lab/learn-claude-code / claim

Method claim

agents/s_full.py:319–324  ·  view source on GitHub ↗
(self, tid: int, owner: str)

Source from the content-addressed store, hash-verified

317 return "\n".join(lines)
318
319 def claim(self, tid: int, owner: str) -> str:
320 task = self._load(tid)
321 task["owner"] = owner
322 task["status"] = "in_progress"
323 self._save(task)
324 return f"Claimed task #{tid} for {owner}"
325
326
327# === SECTION: background (s08) ===

Callers 2

_loopMethod · 0.80
s_full.pyFile · 0.80

Calls 2

_loadMethod · 0.95
_saveMethod · 0.95

Tested by

no test coverage detected