Updated opensearch-py to reflect the latest OpenSearch API spec (2024-02-07) (#671)

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: saimedhi <saimedhi@users.noreply.github.com>
This commit is contained in:
opensearch-trigger-bot[bot]
2024-02-08 11:41:26 -05:00
committed by GitHub
parent b9d9bae06e
commit 8b91bb4ddb
5 changed files with 5 additions and 10 deletions
+1
View File
@@ -23,6 +23,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Fix KeyError when scroll return no hits ([#616](https://github.com/opensearch-project/opensearch-py/pull/616))
- Fix reuse of `OpenSearch` using `Urllib3HttpConnection` and `AsyncOpenSearch` after calling `close` ([#639](https://github.com/opensearch-project/opensearch-py/pull/639))
### Updated APIs
- Updated opensearch-py APIs to reflect [opensearch-api-specification@1787056](https://github.com/opensearch-project/opensearch-api-specification/commit/178705681e5fd812ab59ad00cefa04146d03d7ad)
### Security
### Dependencies
- Bumps `pytest-asyncio` from <=0.21.1 to <=0.23.4
+1 -4
View File
@@ -530,10 +530,7 @@ class ClusterClient(NamespacedClient):
"""
return await self.transport.perform_request(
"DELETE",
"/_cluster/decommission/awareness/",
params=params,
headers=headers,
"DELETE", "/_cluster/decommission/awareness", params=params, headers=headers
)
@query_params()
+1 -1
View File
@@ -98,7 +98,7 @@ class SecurityClient(NamespacedClient):
"""
return await self.transport.perform_request(
"GET",
"/_plugins/_security/api/actiongroups/",
"/_plugins/_security/api/actiongroups",
params=params,
headers=headers,
)
+1 -4
View File
@@ -530,10 +530,7 @@ class ClusterClient(NamespacedClient):
"""
return self.transport.perform_request(
"DELETE",
"/_cluster/decommission/awareness/",
params=params,
headers=headers,
"DELETE", "/_cluster/decommission/awareness", params=params, headers=headers
)
@query_params()
+1 -1
View File
@@ -98,7 +98,7 @@ class SecurityClient(NamespacedClient):
"""
return self.transport.perform_request(
"GET",
"/_plugins/_security/api/actiongroups/",
"/_plugins/_security/api/actiongroups",
params=params,
headers=headers,
)