Skip to content

Commit 3ee636e

Browse files
committed
style(llama-index): ruff format base.py
1 parent ada7809 commit 3ee636e

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • llama-index-coordinode/llama_index/graph_stores/coordinode

llama-index-coordinode/llama_index/graph_stores/coordinode/base.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,7 @@ def get(
9595
# Property keys may contain hyphens or other chars invalid in
9696
# Cypher parameter names; _cypher_param_name() sanitises them.
9797
param_map = {_cypher_param_name(k): v for k, v in properties.items()}
98-
where_clauses = " AND ".join(
99-
f"n.{_cypher_ident(k)} = ${_cypher_param_name(k)}" for k in properties
100-
)
98+
where_clauses = " AND ".join(f"n.{_cypher_ident(k)} = ${_cypher_param_name(k)}" for k in properties)
10199
cypher = f"MATCH (n) WHERE {where_clauses} RETURN n, n.id AS _nid LIMIT 1000"
102100
result = self._client.cypher(cypher, params=param_map)
103101
for row in result:

0 commit comments

Comments
 (0)