Skip to content

Commit 4b76013

Browse files
committed
remove OpenSSL from typing
1 parent 7644229 commit 4b76013

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

redis/client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from itertools import chain
88
from typing import Any, Callable, Dict, List, Mapping, Optional, Type, Union
99

10-
import OpenSSL
1110
from redis._cache import (
1211
DEFAULT_ALLOW_LIST,
1312
DEFAULT_DENY_LIST,
@@ -203,7 +202,7 @@ def __init__(
203202
ssl_password: Optional[str] = None,
204203
ssl_validate_ocsp: bool = False,
205204
ssl_validate_ocsp_stapled: bool = False,
206-
ssl_ocsp_context: Optional[OpenSSL.SSL.Context] = None,
205+
ssl_ocsp_context=None,
207206
ssl_ocsp_expected_cert: Optional[str] = None,
208207
ssl_min_version: Optional[ssl.TLSVersion] = None,
209208
ssl_ciphers: Optional[str] = None,

0 commit comments

Comments
 (0)