MCPcopy Create free account
hub / github.com/Claw-AI-Lab/Claw-AI-Lab / load

Method load

backend/services/agent_bridge.py:608–611  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

606 name: str
607 path: Path
608 tasks: list[Task] = field(default_factory=list)
609
610 def load(self):
611 data = _read_json(self.path)
612 if data and isinstance(data, list):
613 self.tasks = [Task.from_dict(d) for d in data]
614

Callers 2

mainFunction · 0.95
mainFunction · 0.45

Calls 2

_read_jsonFunction · 0.85
from_dictMethod · 0.45

Tested by

no test coverage detected