opensearch-project / opensearch-py

Python Client for OpenSearch
https://opensearch.org/docs/latest/clients/python/
Apache License 2.0
358 stars 178 forks source link

Upgrade to aiohttp 3.10.6. #829

Closed dblock closed 1 month ago

dblock commented 1 month ago

Description

I couldn't figure out how to do this in https://github.com/opensearch-project/opensearch-py/pull/828 so I asked for help in https://github.com/aio-libs/aiohttp/issues/9297 which explained the change in 3.10.6. The solution also exists in https://stackoverflow.com/questions/57699218/how-can-i-mock-out-responses-made-by-aiohttp-clientsession.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.39%. Comparing base (ba715b9) to head (837dac0). Report is 62 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #829 +/- ## ========================================== - Coverage 71.95% 70.39% -1.56% ========================================== Files 91 113 +22 Lines 8001 8890 +889 ========================================== + Hits 5757 6258 +501 - Misses 2244 2632 +388 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.