From 42b937fa1f73f3e8251eba5ec8ead2fcbaec7c50 Mon Sep 17 00:00:00 2001 From: dvora-h <67596500+dvora-h@users.noreply.github.com> Date: Mon, 9 May 2022 15:55:47 +0300 Subject: [PATCH] fix import (#2175) --- redis/commands/search/__init__.py | 3 ++- setup.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/redis/commands/search/__init__.py b/redis/commands/search/__init__.py index bcad785495..b1c0e8be73 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.""" diff --git a/setup.py b/setup.py index 9b9627654d..16387990fc 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ long_description_content_type="text/markdown", keywords=["Redis", "key-value store", "database"], license="MIT", - version="4.3.0", + version="4.3.1", packages=find_packages( include=[ "redis",