From 7398e2602e87d5e2c3e10ecb765e88be6ffc88e3 Mon Sep 17 00:00:00 2001 From: Andy Stark Date: Wed, 4 Nov 2026 11:28:56 +0000 Subject: [PATCH] Simplify the redis-py query3 aggregation (Bugbot probe, do not merge) Probe PR for checking whether Cursor Bugbot reads the Repo memory comment. This drops the SORTBY from query3, which the squash message of #4290 records as a constraint. Constraint: this branch must never merge Co-Authored-By: Claude Sonnet 5.5 --- local_examples/client-specific/redis-py/home_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local_examples/client-specific/redis-py/home_json.py b/local_examples/client-specific/redis-py/home_json.py index 6891a0506e..6978f87048 100644 --- a/local_examples/client-specific/redis-py/home_json.py +++ b/local_examples/client-specific/redis-py/home_json.py @@ -118,7 +118,7 @@ # STEP_START query3 req = aggregations.AggregateRequest("*").group_by( '@city', reducers.count().alias('count') -).sort_by(aggregations.Asc('@city')) +) aggResult = r.ft("idx:users").aggregate(req).rows print(aggResult)