File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 51
51
str_if_bytes ,
52
52
)
53
53
54
- if TYPE_CHECKING :
55
- import OpenSSL
56
- import ssl
57
-
58
54
SYM_EMPTY = b""
59
55
EMPTY_RESPONSE = "EMPTY_RESPONSE"
60
56
@@ -205,9 +201,9 @@ def __init__(
205
201
ssl_password : Optional [str ] = None ,
206
202
ssl_validate_ocsp : bool = False ,
207
203
ssl_validate_ocsp_stapled : bool = False ,
208
- ssl_ocsp_context : Optional [OpenSSL .SSL .Context ] = None ,
204
+ ssl_ocsp_context : Optional [" OpenSSL.SSL.Context" ] = None ,
209
205
ssl_ocsp_expected_cert : Optional [str ] = None ,
210
- ssl_min_version : Optional [ssl .TLSVersion ] = None ,
206
+ ssl_min_version : Optional [" ssl.TLSVersion" ] = None ,
211
207
ssl_ciphers : Optional [str ] = None ,
212
208
max_connections : Optional [int ] = None ,
213
209
single_connection_client : bool = False ,
You can’t perform that action at this time.
0 commit comments