We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd3b7fd commit 5fa7a4dCopy full SHA for 5fa7a4d
redis/commands/search/commands.py
@@ -542,7 +542,7 @@ def explain_cli(self, query: Union[str, Query]): # noqa
542
543
def aggregate(
544
self,
545
- query: Union[str, Query],
+ query: Union[AggregateRequest, Cursor],
546
query_params: Dict[str, Union[str, int, float]] = None,
547
):
548
"""
@@ -573,7 +573,7 @@ def aggregate(
573
)
574
575
def _get_aggregate_result(
576
- self, raw: List, query: Union[str, Query, AggregateRequest], has_cursor: bool
+ self, raw: List, query: Union[AggregateRequest, Cursor], has_cursor: bool
577
578
if has_cursor:
579
if isinstance(query, Cursor):
@@ -967,7 +967,7 @@ async def search(
967
968
async def aggregate(
969
970
+ query: Union[AggregateResult, Cursor],
971
972
973
0 commit comments