MCPcopy Create free account
hub / github.com/NanGePlus/LightRAGTest / upsert_node

Method upsert_node

LightRAG/lightrag/storage.py:274–275  ·  view source on GitHub ↗
(self, node_id: str, node_data: dict[str, str])

Source from the content-addressed store, hash-verified

272 return None
273
274 async def upsert_node(self, node_id: str, node_data: dict[str, str]):
275 self._graph.add_node(node_id, **node_data)
276
277 async def upsert_edge(
278 self, source_node_id: str, target_node_id: str, edge_data: dict[str, str]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected