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

Function _row_to_node

skills/wiki-store/scripts/wiki_db.py:82–85  ·  view source on GitHub ↗
(row: sqlite3.Row)

Source from the content-addressed store, hash-verified

80 "section": "sections",
81 "trajectory": "trajectories",
82 "topic": "topics",
83 }.get(node_type, "nodes")
84
85
86def _relative_file_path(user_id: str, node_type: str, node_id: str) -> str:
87 return (Path(storage_label_for_user_id(user_id)) / _node_folder(node_type) / f"{_slug(node_id)}.md").as_posix()
88

Callers 4

_rows_to_nodesFunction · 0.85
upsert_nodeFunction · 0.85
get_nodeFunction · 0.85
vector_search_nodesFunction · 0.85

Calls 1

_json_loadsFunction · 0.85

Tested by

no test coverage detected