Skip to content

Commit

Permalink
Merge pull request #320 from Lizidong01/main
Browse files Browse the repository at this point in the history
删除Neo4JStorage.has_edge中定义的没有用到的同步close函数
  • Loading branch information
LarFii authored Nov 22, 2024
2 parents 8b4da85 + e6f380f commit 6aeb2cf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lightrag/kg/neo4j_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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('"')
Expand Down

0 comments on commit 6aeb2cf

Please sign in to comment.