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

Generate opensearch-py client from API specs #551

Closed saimedhi closed 11 months ago

saimedhi commented 11 months ago

Description

Generate all APIs

Issues Resolved

closes #489, #477

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 #551 (356bd96) into main (fa8f3a7) will increase coverage by 0.44%. Report is 3 commits behind head on main. The diff coverage is 84.41%.

@@            Coverage Diff             @@
##             main     #551      +/-   ##
==========================================
+ Coverage   70.63%   71.08%   +0.44%     
==========================================
  Files          83       83              
  Lines        7857     7756     -101     
==========================================
- Hits         5550     5513      -37     
+ Misses       2307     2243      -64     
Files Coverage Δ
opensearchpy/_async/client/__init__.py 44.98% <100.00%> (+0.73%) :arrow_up:
opensearchpy/_async/client/cat.py 65.78% <ø> (ø)
opensearchpy/_async/client/cluster.py 51.76% <100.00%> (ø)
opensearchpy/_async/client/dangling_indices.py 53.33% <ø> (ø)
opensearchpy/_async/client/ingest.py 50.00% <ø> (ø)
opensearchpy/_async/client/nodes.py 63.15% <ø> (ø)
opensearchpy/_async/client/snapshot.py 40.67% <100.00%> (+0.05%) :arrow_up:
opensearchpy/_async/client/tasks.py 64.28% <ø> (ø)
opensearchpy/client/__init__.py 60.59% <100.00%> (-0.20%) :arrow_down:
opensearchpy/client/cat.py 65.78% <ø> (ø)
... and 10 more

... and 10 files with indirect coverage changes