summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Rittau <srittau@rittau.biz>2022-02-17 10:17:00 +0100
committerGitHub <noreply@github.com>2022-02-17 11:17:00 +0200
commitcf8b192f11f52516cf463a22ee465ed6c2386947 (patch)
tree3264612d69c8c810c4a742d0c6aababa67dd4a67
parent9a1b00f92fd2694babb57ac9f5e57639201a9827 (diff)
downloadredis-py-cf8b192f11f52516cf463a22ee465ed6c2386947.tar.gz
Fixing type annotation for EXPLAIN (#1997)
-rw-r--r--redis/commands/search/commands.py2
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.