Updated opensearch-py to reflect the latest OpenSearch API spec (2024-02-07) (#671)
Signed-off-by: GitHub <[email protected]> Co-authored-by: saimedhi <[email protected]>
This commit is contained in:
co-authored by
saimedhi
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 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))
|
- Fix reuse of `OpenSearch` using `Urllib3HttpConnection` and `AsyncOpenSearch` after calling `close` ([#639](https://github.com/opensearch-project/opensearch-py/pull/639))
|
||||||
### Updated APIs
|
### Updated APIs
|
||||||
|
- Updated opensearch-py APIs to reflect [opensearch-api-specification@1787056](https://github.com/opensearch-project/opensearch-api-specification/commit/178705681e5fd812ab59ad00cefa04146d03d7ad)
|
||||||
### Security
|
### Security
|
||||||
### Dependencies
|
### Dependencies
|
||||||
- Bumps `pytest-asyncio` from <=0.21.1 to <=0.23.4
|
- Bumps `pytest-asyncio` from <=0.21.1 to <=0.23.4
|
||||||
|
|||||||
@@ -530,10 +530,7 @@ class ClusterClient(NamespacedClient):
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
return await self.transport.perform_request(
|
return await self.transport.perform_request(
|
||||||
"DELETE",
|
"DELETE", "/_cluster/decommission/awareness", params=params, headers=headers
|
||||||
"/_cluster/decommission/awareness/",
|
|
||||||
params=params,
|
|
||||||
headers=headers,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
@query_params()
|
@query_params()
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ class SecurityClient(NamespacedClient):
|
|||||||
"""
|
"""
|
||||||
return await self.transport.perform_request(
|
return await self.transport.perform_request(
|
||||||
"GET",
|
"GET",
|
||||||
"/_plugins/_security/api/actiongroups/",
|
"/_plugins/_security/api/actiongroups",
|
||||||
params=params,
|
params=params,
|
||||||
headers=headers,
|
headers=headers,
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -530,10 +530,7 @@ class ClusterClient(NamespacedClient):
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
return self.transport.perform_request(
|
return self.transport.perform_request(
|
||||||
"DELETE",
|
"DELETE", "/_cluster/decommission/awareness", params=params, headers=headers
|
||||||
"/_cluster/decommission/awareness/",
|
|
||||||
params=params,
|
|
||||||
headers=headers,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
@query_params()
|
@query_params()
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ class SecurityClient(NamespacedClient):
|
|||||||
"""
|
"""
|
||||||
return self.transport.perform_request(
|
return self.transport.perform_request(
|
||||||
"GET",
|
"GET",
|
||||||
"/_plugins/_security/api/actiongroups/",
|
"/_plugins/_security/api/actiongroups",
|
||||||
params=params,
|
params=params,
|
||||||
headers=headers,
|
headers=headers,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user