Fix: fixes ruff
This commit is contained in:
parent
2d0f3e7f1f
commit
58bc710c43
1 changed files with 2 additions and 5 deletions
|
|
@ -377,10 +377,7 @@ class MemgraphAdapter(GraphDBInterface):
|
||||||
The result of the edge addition operation, including relationship details.
|
The result of the edge addition operation, including relationship details.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
exists = await asyncio.gather(
|
exists = await asyncio.gather(self.has_node(str(from_node)), self.has_node(str(to_node)))
|
||||||
self.has_node(str(from_node)),
|
|
||||||
self.has_node(str(to_node))
|
|
||||||
)
|
|
||||||
|
|
||||||
if not all(exists):
|
if not all(exists):
|
||||||
return None
|
return None
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue