Fix trailing AND in edge_search_filter_query_constructor Cypher query Corrected the edge_search_filter_query_constructor function to prevent trailing AND operators in generated Cypher queries, which caused Neo.ClientError.Statement.SyntaxError. Changed condition from `j != len(and_filter_query) - 1` to `j != len(and_filters) - 1` for valid_at, invalid_at, created_at, and expired_at filter blocks. Also fixed outer loop condition to use `len(filters.<field>)` instead of `len(or_list)`. Ensures valid Cypher syntax for single DateFilter cases. Co-authored-by: TheEpTic <326774+TheEpTic@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| search.py | ||
| search_config.py | ||
| search_config_recipes.py | ||
| search_filters.py | ||
| search_helpers.py | ||
| search_utils.py | ||