Skip to content

Improve code coverage for aggregation tests #1713

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Nov 25, 2021
6 changes: 0 additions & 6 deletions redis/commands/search/aggregation.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,12 +345,6 @@ def cursor(self, count=0, max_idle=0.0):
self._cursor = args
return self

def _limit_2_args(self, limit):
if limit[1]:
return ["LIMIT"] + [str(x) for x in limit]
else:
return []

def build_args(self):
# @foo:bar ...
ret = [self._query]
Expand Down
Loading