删除Neo4JStorage.has_edge中定义的没有用到的同步close函数
This commit is contained in:
parent
e0488bc9fc
commit
e6f380fc7a
1 changed files with 0 additions and 3 deletions
|
|
@ -86,9 +86,6 @@ class Neo4JStorage(BaseGraphStorage):
|
|||
)
|
||||
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('"')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue