From c521fa65da4c00b39c4ec08979d169b466fd1314 Mon Sep 17 00:00:00 2001 From: Josh Cannon Date: Tue, 28 Oct 2025 08:41:17 -0500 Subject: [PATCH 1/3] Expose `FunctionAuth` in `__all__` --- httpx/_auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpx/_auth.py b/httpx/_auth.py index b03971ab4b..9d24faed99 100644 --- a/httpx/_auth.py +++ b/httpx/_auth.py @@ -16,7 +16,7 @@ from hashlib import _Hash -__all__ = ["Auth", "BasicAuth", "DigestAuth", "NetRCAuth"] +__all__ = ["Auth", "BasicAuth", "DigestAuth", "FunctionAuth", "NetRCAuth"] class Auth: From 256ebcedc7e861408dec34ec2155999328835ceb Mon Sep 17 00:00:00 2001 From: Josh Cannon Date: Tue, 28 Oct 2025 08:50:06 -0500 Subject: [PATCH 2/3] Update __init__.py --- httpx/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/httpx/__init__.py b/httpx/__init__.py index e9addde071..63225040ba 100644 --- a/httpx/__init__.py +++ b/httpx/__init__.py @@ -50,6 +50,7 @@ def main() -> None: # type: ignore "DecodingError", "delete", "DigestAuth", + "FunctionAuth", "get", "head", "Headers", From 4b9f63e507c4ea75fa59f6bbdfb103e2f014a6f9 Mon Sep 17 00:00:00 2001 From: Kar Petrosyan Date: Wed, 10 Dec 2025 18:54:35 +0400 Subject: [PATCH 3/3] changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 13bbfcdb79..57fa44b8ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). * Drop support for Python 3.8 +### Added + +* Expose `FunctionAuth` from the public API. (#3699) + ## 0.28.1 (6th December, 2024) * Fix SSL case where `verify=False` together with client side certificates.