Import ssl on demand (#3401)

This commit is contained in:
Tom Christie 2024-11-15 10:17:42 +00:00 committed by GitHub
parent 1805ee0d22
commit 2ea2286db4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,12 +1,14 @@
from __future__ import annotations
import ssl
import typing
from ._models import Headers
from ._types import HeaderTypes, TimeoutTypes
from ._urls import URL
if typing.TYPE_CHECKING:
import ssl # pragma: no cover
__all__ = ["Limits", "Proxy", "Timeout", "create_ssl_context"]