summaryrefslogtreecommitdiff
path: root/redis/commands
diff options
context:
space:
mode:
Diffstat (limited to 'redis/commands')
-rw-r--r--redis/commands/search/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/redis/commands/search/__init__.py b/redis/commands/search/__init__.py
index bcad785..b1c0e8b 100644
--- a/redis/commands/search/__init__.py
+++ b/redis/commands/search/__init__.py
@@ -1,5 +1,6 @@
import redis
+from ...asyncio.client import Pipeline as AsyncioPipeline
from .commands import AsyncSearchCommands, SearchCommands
@@ -174,5 +175,5 @@ class Pipeline(SearchCommands, redis.client.Pipeline):
"""Pipeline for the module."""
-class AsyncPipeline(AsyncSearchCommands, redis.asyncio.client.Pipeline):
+class AsyncPipeline(AsyncSearchCommands, AsyncioPipeline):
"""AsyncPipeline for the module."""