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

Function get_node

skills/wiki-store/scripts/wiki_db.py:506–514  ·  view source on GitHub ↗
(user_id: str, node_id: str)

Source from the content-addressed store, hash-verified

504 {where}
505 ORDER BY updated_at DESC, id DESC
506 LIMIT ?
507 """,
508 params,
509 ).fetchall()
510 conn.close()
511 return _rows_to_nodes(rows)
512
513
514def get_node(user_id: str, node_id: str) -> Optional[Dict[str, Any]]:
515 init_wiki_schema()
516 conn = db_ops.get_connection()
517 row = conn.execute(

Callers

nothing calls this directly

Calls 4

init_wiki_schemaFunction · 0.85
_row_to_nodeFunction · 0.85
executeMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected