Skip to content

Commit ae1b9f6

Browse files
Expose FunctionAuth in __all__ (#3699)
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com> Co-authored-by: Kar Petrosyan <kar.petrosyanpy@gmail.com>
1 parent ca097c9 commit ae1b9f6

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1010

1111
* Drop support for Python 3.8
1212

13+
### Added
14+
15+
* Expose `FunctionAuth` from the public API. (#3699)
16+
1317
## 0.28.1 (6th December, 2024)
1418

1519
* Fix SSL case where `verify=False` together with client side certificates.

httpx/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def main() -> None: # type: ignore
5050
"DecodingError",
5151
"delete",
5252
"DigestAuth",
53+
"FunctionAuth",
5354
"get",
5455
"head",
5556
"Headers",

httpx/_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from hashlib import _Hash
1717

1818

19-
__all__ = ["Auth", "BasicAuth", "DigestAuth", "NetRCAuth"]
19+
__all__ = ["Auth", "BasicAuth", "DigestAuth", "FunctionAuth", "NetRCAuth"]
2020

2121

2222
class Auth:

0 commit comments

Comments
 (0)