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 5151 str_if_bytes ,
5252)
5353
54- if TYPE_CHECKING :
55- import OpenSSL
56- import ssl
57-
5854SYM_EMPTY = b""
5955EMPTY_RESPONSE = "EMPTY_RESPONSE"
6056
@@ -205,9 +201,9 @@ def __init__(
205201 ssl_password : Optional [str ] = None ,
206202 ssl_validate_ocsp : bool = False ,
207203 ssl_validate_ocsp_stapled : bool = False ,
208- ssl_ocsp_context : Optional [OpenSSL .SSL .Context ] = None ,
204+ ssl_ocsp_context : Optional [" OpenSSL.SSL.Context" ] = None ,
209205 ssl_ocsp_expected_cert : Optional [str ] = None ,
210- ssl_min_version : Optional [ssl .TLSVersion ] = None ,
206+ ssl_min_version : Optional [" ssl.TLSVersion" ] = None ,
211207 ssl_ciphers : Optional [str ] = None ,
212208 max_connections : Optional [int ] = None ,
213209 single_connection_client : bool = False ,
You can’t perform that action at this time.
0 commit comments