Skip to content

Commit

Permalink
Import ssl on demand (#3401)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchristie authored Nov 15, 2024
1 parent 1805ee0 commit 2ea2286
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion httpx/_config.py
Original file line number Diff line number Diff line change
@@ -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"]


Expand Down

0 comments on commit 2ea2286

Please sign in to comment.