elastic-transport-python
elastic-transport-python copied to clipboard
Transport classes and utilities shared among Python Elastic client libraries
As described here: https://elasticsearch-py.readthedocs.io/en/latest/exceptions.html When a TlsError (or other TransportError) is initially raised, it contains a message attribute, "Cannot connect to host..." and an errors attribute which is a tuple...
I am a Fedora packager and recently observed that many tests were failing due to timeouts during the check stage. This issue is particularly noticeable on low-performance devices and current...
**Steps to reproduce**: Happens for me on clusters of 8.12 and 8.13 with clients of same versions, I assume it happens in earlier clusters as well. 1. Have a cluster...
It seems that a few httpbin-based tests are hardcoding the `Accept-Encoding` list and therefore failing if `zstandard` is installed, and its support is being declared as well, e.g.: ```pytb $...
This PR adds a synchronous node class that uses a`httpx`' `Client`. This would enable developers of downstream packages and applications to use either / both sync and async node classes...
Setting "sniff_before_requests=True" leads to repeatedly retrieving fail sniff tasks during requests
sorry my english is poor in elastic_transport/_async_transport.py when sniff_before_requests=True,sniff function call is not wrapped in a try-catch block, which causes exceptions from task.result to propagate outward. If last sniff task...