MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _slug

Function _slug

skills/wiki-store/scripts/wiki_db.py:57–58  ·  view source on GitHub ↗
(value: str, *, max_len: int = 96)

Source from the content-addressed store, hash-verified

55 return {}
56 if isinstance(value, str):
57 try:
58 parsed = json.loads(value)
59 except json.JSONDecodeError:
60 return {}
61 return parsed if isinstance(parsed, dict) else {}

Callers 1

_relative_file_pathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected