MCPcopy Index your code
hub / github.com/shareAI-lab/learn-claude-code / get_task

Function get_task

s13_background_tasks/code.py:92–95  ·  view source on GitHub ↗

Return full task details as JSON.

(task_id: str)

Source from the content-addressed store, hash-verified

90
91
92def get_task(task_id: str) -> str:
93 """Return full task details as JSON."""
94 task = load_task(task_id)
95 return json.dumps(asdict(task), indent=2)
96
97
98def can_start(task_id: str) -> bool:

Callers 1

run_get_taskFunction · 0.70

Calls 1

load_taskFunction · 0.70

Tested by

no test coverage detected