opensearch-project / opensearch-py

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

feat: allow passing `trust_env` to `aiohttp.ClientSession` #438

Closed michaeloliverx closed 1 year ago

michaeloliverx commented 1 year ago

Description

I initially opened issue #368 for this feature, there have been a few PRs but none have gotten over the line by adding tests so I'll give it a try.

Issues Resolved

Fixes #368 https://github.com/opensearch-project/opensearch-py/pull/372 https://github.com/opensearch-project/opensearch-py/pull/370

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 year ago

Codecov Report

Merging #438 (b8df821) into main (49d75c2) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #438   +/-   ##
=======================================
  Coverage   71.48%   71.49%           
=======================================
  Files          81       81           
  Lines        7667     7668    +1     
=======================================
+ Hits         5481     5482    +1     
  Misses       2186     2186           
Impacted Files Coverage Δ
opensearchpy/_async/http_aiohttp.py 82.94% <100.00%> (+0.13%) :arrow_up: