From b9be07777e37ab34139dbf73694f7b32a054f12c Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Wed, 25 Dec 2024 10:01:51 +0100 Subject: [PATCH] Make UseClientDefault public --- httpx/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/httpx/__init__.py b/httpx/__init__.py index f61112f8b2..ace7c299d1 100644 --- a/httpx/__init__.py +++ b/httpx/__init__.py @@ -1,7 +1,7 @@ from .__version__ import __description__, __title__, __version__ from ._api import delete, get, head, options, patch, post, put, request, stream from ._auth import Auth, BasicAuth, DigestAuth, NetRCAuth -from ._client import USE_CLIENT_DEFAULT, AsyncClient, Client +from ._client import USE_CLIENT_DEFAULT, AsyncClient, Client, UseClientDefault from ._config import Limits, Proxy, Timeout, create_ssl_context from ._content import ByteStream from ._exceptions import ( @@ -125,6 +125,7 @@ def main() -> None: # type: ignore "TransportError", "UnsupportedProtocol", "URL", + "UseClientDefault", "USE_CLIENT_DEFAULT", "WriteError", "WriteTimeout",