Skip to content

Auto-generated code for 8.x #2697

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading