Skip to content

Commit

Permalink
Auto-generated code for 8.16 (#2698)
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticmachine authored Nov 12, 2024
1 parent 1ba5bcf commit 0544a4b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions elasticsearch/_async/client/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ async def list(
] = None,
human: t.Optional[bool] = None,
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
node_id: t.Optional[t.Sequence[str]] = None,
nodes: t.Optional[t.Union[str, t.Sequence[str]]] = None,
parent_task_id: t.Optional[str] = None,
pretty: t.Optional[bool] = None,
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
Expand All @@ -179,7 +179,7 @@ async def list(
:param master_timeout: Period to wait for a connection to the master node. If
no response is received before the timeout expires, the request fails and
returns an error.
:param node_id: Comma-separated list of node IDs or names used to limit returned
:param nodes: Comma-separated list of node IDs or names used to limit returned
information.
:param parent_task_id: Parent task ID used to limit returned information. To
return all tasks, omit this parameter or use a value of `-1`.
Expand All @@ -205,8 +205,8 @@ async def list(
__query["human"] = human
if master_timeout is not None:
__query["master_timeout"] = master_timeout
if node_id is not None:
__query["node_id"] = node_id
if nodes is not None:
__query["nodes"] = nodes
if parent_task_id is not None:
__query["parent_task_id"] = parent_task_id
if pretty is not None:
Expand Down
8 changes: 4 additions & 4 deletions elasticsearch/_sync/client/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def list(
] = None,
human: t.Optional[bool] = None,
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
node_id: t.Optional[t.Sequence[str]] = None,
nodes: t.Optional[t.Union[str, t.Sequence[str]]] = None,
parent_task_id: t.Optional[str] = None,
pretty: t.Optional[bool] = None,
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
Expand All @@ -179,7 +179,7 @@ def list(
:param master_timeout: Period to wait for a connection to the master node. If
no response is received before the timeout expires, the request fails and
returns an error.
:param node_id: Comma-separated list of node IDs or names used to limit returned
:param nodes: Comma-separated list of node IDs or names used to limit returned
information.
:param parent_task_id: Parent task ID used to limit returned information. To
return all tasks, omit this parameter or use a value of `-1`.
Expand All @@ -205,8 +205,8 @@ def list(
__query["human"] = human
if master_timeout is not None:
__query["master_timeout"] = master_timeout
if node_id is not None:
__query["node_id"] = node_id
if nodes is not None:
__query["nodes"] = nodes
if parent_task_id is not None:
__query["parent_task_id"] = parent_task_id
if pretty is not None:
Expand Down

0 comments on commit 0544a4b

Please sign in to comment.