From 7206719d120e936a1ebc9cee87e4a524e20774a3 Mon Sep 17 00:00:00 2001 From: Andy Stark Date: Wed, 4 Nov 2026 11:42:37 +0000 Subject: [PATCH] Simplify the redis-py agg_avg aggregation (Bugbot probe 2, do not merge) Probe PR for checking how Cursor Bugbot reviews an aggregation change. This drops the sort from agg_avg. Constraint: this branch must never merge Co-Authored-By: Claude Sonnet 5.5 --- local_examples/client-specific/redis-py/search_tutorial.py | 1 - 1 file changed, 1 deletion(-) diff --git a/local_examples/client-specific/redis-py/search_tutorial.py b/local_examples/client-specific/redis-py/search_tutorial.py index ddf64b3efd..a27099728d 100644 --- a/local_examples/client-specific/redis-py/search_tutorial.py +++ b/local_examples/client-specific/redis-py/search_tutorial.py @@ -408,7 +408,6 @@ req = ( aggregations.AggregateRequest("*") .group_by("@category", reducers.avg("@price").alias("avg_price")) - .sort_by(aggregations.Desc("@avg_price")) ) res = index.aggregate(req).rows print(res)