Skip to content

Commit 336b259

Browse files
committed
fix retry type
1 parent 7531dac commit 336b259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def __init__(
218218
lib_name: Optional[str] = "redis-py",
219219
lib_version: Optional[str] = get_lib_version(),
220220
username: Optional[str] = None,
221-
retry: Union[Any, None] = None,
221+
retry: Optional[Retry] = None,
222222
redis_connect_func: Optional[Callable[[], None]] = None,
223223
credential_provider: Optional[CredentialProvider] = None,
224224
protocol: Optional[int] = 2,

0 commit comments

Comments
 (0)