We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ada7809 commit 3ee636eCopy full SHA for 3ee636e
1 file changed
llama-index-coordinode/llama_index/graph_stores/coordinode/base.py
@@ -95,9 +95,7 @@ def get(
95
# Property keys may contain hyphens or other chars invalid in
96
# Cypher parameter names; _cypher_param_name() sanitises them.
97
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
- )
+ where_clauses = " AND ".join(f"n.{_cypher_ident(k)} = ${_cypher_param_name(k)}" for k in properties)
101
cypher = f"MATCH (n) WHERE {where_clauses} RETURN n, n.id AS _nid LIMIT 1000"
102
result = self._client.cypher(cypher, params=param_map)
103
for row in result:
0 commit comments