Closed pquentin closed 4 months ago
Part of https://github.com/elastic/elasticsearch-serverless-python/issues/52
This backports https://github.com/elastic/elasticsearch-py/pull/2457. However, to make the tests pass with the current transport, this also includes the typing changes of https://github.com/elastic/elasticsearch-py/pull/2482 and does not send those parameters to the transport in preparation of backporting https://github.com/elastic/elasticsearch-py/pull/2490. (Turns out knowing the future allows avoiding failed experiments!)
This depends on #66 and #67 that I would like to merge first to make this pull request smaller. And this unblocks #68.
git got confused by the squash which caused merged conflicts, but I confirmed this is OK by regenerating everything.
Part of https://github.com/elastic/elasticsearch-serverless-python/issues/52
This backports https://github.com/elastic/elasticsearch-py/pull/2457. However, to make the tests pass with the current transport, this also includes the typing changes of https://github.com/elastic/elasticsearch-py/pull/2482 and does not send those parameters to the transport in preparation of backporting https://github.com/elastic/elasticsearch-py/pull/2490. (Turns out knowing the future allows avoiding failed experiments!)
This depends on #66 and #67 that I would like to merge first to make this pull request smaller. And this unblocks #68.