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

Method get_node

LightRAG/lightrag/storage.py:255–256  ·  view source on GitHub ↗
(self, node_id: str)

Source from the content-addressed store, hash-verified

253 return self._graph.has_edge(source_node_id, target_node_id)
254
255 async def get_node(self, node_id: str) -> Union[dict, None]:
256 return self._graph.nodes.get(node_id)
257
258 async def node_degree(self, node_id: str) -> int:
259 return self._graph.degree(node_id)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected