diff --git a/redis/commands/search/commands.py b/redis/commands/search/commands.py index 5c4734c7c8..39c599fbd5 100644 --- a/redis/commands/search/commands.py +++ b/redis/commands/search/commands.py @@ -433,7 +433,7 @@ def search( def explain( self, - query=Union[str, Query], + query: Union[str, Query], query_params: Dict[str, Union[str, int, float]] = None, ): """Returns the execution plan for a complex query.