summaryrefslogtreecommitdiff
path: root/redis/commands/search/commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/commands/search/commands.py')
-rw-r--r--redis/commands/search/commands.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/redis/commands/search/commands.py b/redis/commands/search/commands.py
index 3f768ab..94edea1 100644
--- a/redis/commands/search/commands.py
+++ b/redis/commands/search/commands.py
@@ -447,9 +447,9 @@ class SearchCommands:
raise ValueError("Bad query", query)
raw = self.execute_command(*cmd)
- return self._get_AggregateResult(raw, query, has_cursor)
+ return self._get_aggregate_result(raw, query, has_cursor)
- def _get_AggregateResult(self, raw, query, has_cursor):
+ def _get_aggregate_result(self, raw, query, has_cursor):
if has_cursor:
if isinstance(query, Cursor):
query.cid = raw[1]
@@ -499,7 +499,7 @@ class SearchCommands:
res = self.execute_command(*cmd)
if isinstance(query, AggregateRequest):
- result = self._get_AggregateResult(res[0], query, query._cursor)
+ result = self._get_aggregate_result(res[0], query, query._cursor)
else:
result = Result(
res[0],