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

Function load_task

s15_agent_teams/code.py:83–84  ·  view source on GitHub ↗
(task_id: str)

Source from the content-addressed store, hash-verified

81
82
83def load_task(task_id: str) -> Task:
84 return Task(**json.loads(_task_path(task_id).read_text()))
85
86
87def list_tasks() -> list[Task]:

Callers 4

get_taskFunction · 0.70
can_startFunction · 0.70
claim_taskFunction · 0.70
complete_taskFunction · 0.70

Calls 2

TaskClass · 0.70
_task_pathFunction · 0.70

Tested by

no test coverage detected