diff options
Diffstat (limited to 'redis/commands/search/__init__.py')
-rw-r--r-- | redis/commands/search/__init__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/redis/commands/search/__init__.py b/redis/commands/search/__init__.py index 425578e..8320ad4 100644 --- a/redis/commands/search/__init__.py +++ b/redis/commands/search/__init__.py @@ -83,7 +83,7 @@ class Search(SearchCommands): self.pipeline.execute() self.current_chunk = 0 - def __init__(self, client, version=None, index_name="idx"): + def __init__(self, client, index_name="idx"): """ Create a new Client for the given index_name. The default name is `idx` @@ -91,7 +91,6 @@ class Search(SearchCommands): If conn is not None, we employ an already existing redis connection """ self.client = client - self.MODULE_VERSION = version self.index_name = index_name self.execute_command = client.execute_command self.pipeline = client.pipeline |