Skip to content

Commit ac01e2c

Browse files
authored
fix asynic/client.py's import
Lock and Retry should be from redis.asyncio
1 parent 876cafc commit ac01e2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redis/asyncio/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
TimeoutError,
5454
WatchError,
5555
)
56-
from redis.lock import Lock
57-
from redis.retry import Retry
56+
from redis.asyncio.lock import Lock
57+
from redis.asyncio.retry import Retry
5858
from redis.typing import ChannelT, EncodableT, KeyT
5959
from redis.utils import safe_str, str_if_bytes
6060

0 commit comments

Comments
 (0)