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
81
82def _row_to_node(row: sqlite3.Row) -> Dict[str, Any]:
83 node = dict(row)
84 node["metadata"] = _json_loads(node.pop("metadata_json", None))
85 return node
86
87
88def _rows_to_nodes(rows: Iterable[sqlite3.Row]) -> List[Dict[str, Any]]:

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