fix format

This commit is contained in:
zrguo
2025-03-01 17:45:06 +08:00
parent 5bbe61a02d
commit 4219454fab
2 changed files with 56 additions and 35 deletions

View File

@@ -280,10 +280,7 @@ class Neo4JStorage(BaseGraphStorage):
MATCH (start:`{entity_name_label_source}`)-[r]->(end:`{entity_name_label_target}`)
RETURN properties(r) as edge_properties
LIMIT 1
""".format(
entity_name_label_source=entity_name_label_source,
entity_name_label_target=entity_name_label_target,
)
"""
result = await session.run(query)
record = await result.single()