From e6f380fc7a008fc2da1fc3246680425522fc723d Mon Sep 17 00:00:00 2001 From: lzd <2428183599@qq.com> Date: Fri, 22 Nov 2024 13:59:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4Neo4JStorage.has=5Fedge?= =?UTF-8?q?=E4=B8=AD=E5=AE=9A=E4=B9=89=E7=9A=84=E6=B2=A1=E6=9C=89=E7=94=A8?= =?UTF-8?q?=E5=88=B0=E7=9A=84=E5=90=8C=E6=AD=A5close=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lightrag/kg/neo4j_impl.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/lightrag/kg/neo4j_impl.py b/lightrag/kg/neo4j_impl.py index f9fcb46d..84efae81 100644 --- a/lightrag/kg/neo4j_impl.py +++ b/lightrag/kg/neo4j_impl.py @@ -86,9 +86,6 @@ async def has_edge(self, source_node_id: str, target_node_id: str) -> bool: ) return single_result["edgeExists"] - def close(self): - self._driver.close() - async def get_node(self, node_id: str) -> Union[dict, None]: async with self._driver.session() as session: entity_name_label = node_id.strip('"')