diff options
author | Sebastian Rittau <srittau@rittau.biz> | 2022-02-17 10:17:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-17 11:17:00 +0200 |
commit | cf8b192f11f52516cf463a22ee465ed6c2386947 (patch) | |
tree | 3264612d69c8c810c4a742d0c6aababa67dd4a67 | |
parent | 9a1b00f92fd2694babb57ac9f5e57639201a9827 (diff) | |
download | redis-py-cf8b192f11f52516cf463a22ee465ed6c2386947.tar.gz |
Fixing type annotation for EXPLAIN (#1997)
-rw-r--r-- | redis/commands/search/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/commands/search/commands.py b/redis/commands/search/commands.py index 5c4734c..39c599f 100644 --- a/redis/commands/search/commands.py +++ b/redis/commands/search/commands.py @@ -433,7 +433,7 @@ class SearchCommands: 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. |