Skip to content

Commit

Permalink
Auto-generated API code
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticmachine committed Jan 20, 2025
1 parent 7310c34 commit 79522fb
Show file tree
Hide file tree
Showing 6 changed files with 1,628 additions and 458 deletions.
1,031 changes: 805 additions & 226 deletions elasticsearch_serverless/_async/client/__init__.py

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions elasticsearch_serverless/_async/client/indices.py
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,8 @@ async def get_alias(
"""
Get aliases. Retrieves information for one or more data stream or index aliases.
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-alias.html>`_
:param index: Comma-separated list of data streams or indices used to limit the
request. Supports wildcards (`*`). To target all data streams and indices,
omit this parameter or use `*` or `_all`.
Expand Down
10 changes: 7 additions & 3 deletions elasticsearch_serverless/_async/client/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,16 @@ async def get(
) -> ObjectApiResponse[t.Any]:
"""
Get task information. Get information about a task currently running in the cluster.
WARNING: The task management API is new and should still be considered a beta
feature. The API may change in ways that are not backwards compatible. If the
task identifier is not found, a 404 response code indicates that there are no
resources that match the request.
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html>`_
:param task_id: ID of the task.
:param timeout: Period to wait for a response. If no response is received before
the timeout expires, the request fails and returns an error.
:param task_id: The task identifier.
:param timeout: The period to wait for a response. If no response is received
before the timeout expires, the request fails and returns an error.
:param wait_for_completion: If `true`, the request blocks until the task has
completed.
"""
Expand Down
Loading

0 comments on commit 79522fb

Please sign in to comment.