elastic-transport-python icon indicating copy to clipboard operation
elastic-transport-python copied to clipboard

Add support for httpx authentication class

Open vruello opened this issue 7 months ago • 0 comments

This PR adds support for passing a custom authentication class to the httpx client (https://github.com/elastic/elasticsearch-py/issues/2933) with minimal changes. It is heavily inspired by the existing implementation for the requests client. Internally, it uses the already existing requests.session.auth extra parameter.

See the corresponding PR in elasticsearch-py : https://github.com/elastic/elasticsearch-py/pull/2953

vruello avatar Apr 30 '25 15:04 vruello