opensearch-project / opensearch-py

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

Remove PY2. #550

Closed dblock closed 11 months ago

dblock commented 11 months ago

Description

Another variation of Python-2 compatible code.

Issues Resolved

More of #548.

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 11 months ago

Codecov Report

Merging #550 (9e5b952) into main (627e717) will increase coverage by 0.05%. The diff coverage is 92.85%.

@@            Coverage Diff             @@
##             main     #550      +/-   ##
==========================================
+ Coverage   70.68%   70.74%   +0.05%     
==========================================
  Files          83       83              
  Lines        7862     7847      -15     
==========================================
- Hits         5557     5551       -6     
+ Misses       2305     2296       -9     
Files Coverage Δ
opensearchpy/client/utils.py 86.86% <100.00%> (+0.73%) :arrow_up:
opensearchpy/compat.py 73.07% <91.66%> (+16.66%) :arrow_up:

... and 1 file with indirect coverage changes