Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/shareAI-lab/learn-claude-code
/ save_task
Function
save_task
s13_background_tasks/code.py:79–80 ·
view source on GitHub ↗
(task: Task)
Source
from the content-addressed store, hash-verified
77
78
79
def
save_task(task: Task):
80
_task_path(task.id).write_text(json.dumps(asdict(task), indent=2))
81
82
83
def
load_task(task_id: str) -> Task:
Callers
3
create_task
Function · 0.70
claim_task
Function · 0.70
complete_task
Function · 0.70
Calls
1
_task_path
Function · 0.70
Tested by
no test coverage detected