Skip to content

Commit

Permalink
Updated opensearch-py to reflect the latest OpenSearch API spec (2024…
Browse files Browse the repository at this point in the history
…-02-01)

Signed-off-by: GitHub <[email protected]>
  • Loading branch information
saimedhi authored Feb 1, 2024
1 parent 2281b5e commit a710553
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
5 changes: 1 addition & 4 deletions opensearchpy/_async/client/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,10 +530,7 @@ async def delete_decommission_awareness(
"""
return await self.transport.perform_request(
"DELETE",
"/_cluster/decommission/awareness/",
params=params,
headers=headers,
"DELETE", "/_cluster/decommission/awareness", params=params, headers=headers
)

@query_params()
Expand Down
2 changes: 1 addition & 1 deletion opensearchpy/_async/client/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async def get_action_groups(
"""
return await self.transport.perform_request(
"GET",
"/_plugins/_security/api/actiongroups/",
"/_plugins/_security/api/actiongroups",
params=params,
headers=headers,
)
Expand Down
5 changes: 1 addition & 4 deletions opensearchpy/client/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,10 +530,7 @@ def delete_decommission_awareness(
"""
return self.transport.perform_request(
"DELETE",
"/_cluster/decommission/awareness/",
params=params,
headers=headers,
"DELETE", "/_cluster/decommission/awareness", params=params, headers=headers
)

@query_params()
Expand Down
2 changes: 1 addition & 1 deletion opensearchpy/client/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def get_action_groups(
"""
return self.transport.perform_request(
"GET",
"/_plugins/_security/api/actiongroups/",
"/_plugins/_security/api/actiongroups",
params=params,
headers=headers,
)
Expand Down

0 comments on commit a710553

Please sign in to comment.