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:
committed by
GitHub
parent
b9d9bae06e
commit
8b91bb4ddb
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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,
|
||||
)
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user