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

Fix/issue350/advanced action guide and sample #540

Closed Djcarrillo6 closed 11 months ago

Djcarrillo6 commented 11 months ago

Description

Create advanced index actions guide & it's associated sample code file.

Issues Resolved

Resolves issue #350 When approved & merged, allows for the closure of this PR

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.

OSCI-2023

codecov[bot] commented 11 months ago

Codecov Report

Merging #540 (5edf6c0) into main (80b9681) will decrease coverage by 0.47%. Report is 10 commits behind head on main. The diff coverage is 60.00%.

@@            Coverage Diff             @@
##             main     #540      +/-   ##
==========================================
- Coverage   70.87%   70.40%   -0.47%     
==========================================
  Files          83       83              
  Lines        7790     7857      +67     
==========================================
+ Hits         5521     5532      +11     
- Misses       2269     2325      +56     
Files Coverage Δ
opensearchpy/_async/transport.py 86.36% <ø> (-0.65%) :arrow_down:
opensearchpy/_version.py 100.00% <100.00%> (ø)
opensearchpy/connection/base.py 93.66% <ø> (ø)
opensearchpy/connection/http_urllib3.py 86.02% <100.00%> (+0.30%) :arrow_up:
opensearchpy/connection_pool.py 89.09% <ø> (ø)
opensearchpy/helpers/utils.py 91.01% <ø> (ø)
opensearchpy/transport.py 91.56% <100.00%> (-0.46%) :arrow_down:
opensearchpy/_async/client/cat.py 65.78% <70.00%> (+1.90%) :arrow_up:
opensearchpy/client/cat.py 65.78% <70.00%> (+1.90%) :arrow_up:
opensearchpy/_async/client/cluster.py 51.76% <53.12%> (-3.41%) :arrow_down:
... and 1 more

... and 5 files with indirect coverage changes

Djcarrillo6 commented 11 months ago

@saimedhi Made a mistake when rebasing to a single commit, and it messed up my total files changed by a large amount. Reopening this PR with the clean branch