From e6968f8d73f85c2ab50a145aeccfa289719fdddf Mon Sep 17 00:00:00 2001 From: wwqgtxx Date: Mon, 4 Apr 2022 18:21:43 +0800 Subject: fix asynic/client.py's import (#2079) * fix asynic/client.py's import Lock and Retry should be from redis.asyncio * for code linters --- redis/asyncio/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'redis/asyncio/client.py') diff --git a/redis/asyncio/client.py b/redis/asyncio/client.py index 368607b..7175e02 100644 --- a/redis/asyncio/client.py +++ b/redis/asyncio/client.py @@ -30,6 +30,8 @@ from redis.asyncio.connection import ( SSLConnection, UnixDomainSocketConnection, ) +from redis.asyncio.lock import Lock +from redis.asyncio.retry import Retry from redis.client import ( EMPTY_RESPONSE, NEVER_DECODE, @@ -53,8 +55,6 @@ from redis.exceptions import ( TimeoutError, WatchError, ) -from redis.lock import Lock -from redis.retry import Retry from redis.typing import ChannelT, EncodableT, KeyT from redis.utils import safe_str, str_if_bytes -- cgit v1.2.1