Skip to content

Commit 8cb9e85

Browse files
committed
retry typing
1 parent f5e9163 commit 8cb9e85

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
@@ -214,7 +214,7 @@ def __init__(
214214
lib_name: Optional[str] = "redis-py",
215215
lib_version: Optional[str] = get_lib_version(),
216216
username: Optional[str] = None,
217-
retry: Union[Any, None] = None,
217+
retry: Optional[Retry] = None,
218218
redis_connect_func: Optional[Callable[[], None]] = None,
219219
credential_provider: Optional[CredentialProvider] = None,
220220
protocol: Optional[int] = 2,

0 commit comments

Comments
 (0)