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

Method _save

agents/s07_task_system.py:63–65  ·  view source on GitHub ↗
(self, task: dict)

Source from the content-addressed store, hash-verified

61 return json.loads(path.read_text())
62
63 def _save(self, task: dict):
64 path = self.dir / f"task_{task['id']}.json"
65 path.write_text(json.dumps(task, indent=2, ensure_ascii=False))
66
67 def create(self, subject: str, description: str = "") -> str:
68 task = {

Callers 3

createMethod · 0.95
updateMethod · 0.95
_clear_dependencyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected