MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / load

Method load

src/workflow/journal.py:78–80  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

76
77 @staticmethod
78 def load(text: str) -> dict[CallKey, JournalRecord]:
79 raw = json.loads(text)
80 return {key_from_str(k): JournalRecord(v["fingerprint"], v["result"]) for k, v in raw.items()}
81
82
83def records_to_json(records: Mapping[CallKey, JournalRecord]) -> str:

Callers 1

load_journalFunction · 0.45

Calls 3

key_from_strFunction · 0.85
JournalRecordClass · 0.85
itemsMethod · 0.80

Tested by

no test coverage detected