Skip to content

Commit e67fed8

Browse files
Auto-generated code for main (#2696)
1 parent 51aacce commit e67fed8

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

elasticsearch/_async/client/tasks.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ async def list(
159159
] = None,
160160
human: t.Optional[bool] = None,
161161
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
162-
node_id: t.Optional[t.Sequence[str]] = None,
162+
nodes: t.Optional[t.Union[str, t.Sequence[str]]] = None,
163163
parent_task_id: t.Optional[str] = None,
164164
pretty: t.Optional[bool] = None,
165165
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
@@ -179,7 +179,7 @@ async def list(
179179
:param master_timeout: Period to wait for a connection to the master node. If
180180
no response is received before the timeout expires, the request fails and
181181
returns an error.
182-
:param node_id: Comma-separated list of node IDs or names used to limit returned
182+
:param nodes: Comma-separated list of node IDs or names used to limit returned
183183
information.
184184
:param parent_task_id: Parent task ID used to limit returned information. To
185185
return all tasks, omit this parameter or use a value of `-1`.
@@ -205,8 +205,8 @@ async def list(
205205
__query["human"] = human
206206
if master_timeout is not None:
207207
__query["master_timeout"] = master_timeout
208-
if node_id is not None:
209-
__query["node_id"] = node_id
208+
if nodes is not None:
209+
__query["nodes"] = nodes
210210
if parent_task_id is not None:
211211
__query["parent_task_id"] = parent_task_id
212212
if pretty is not None:

elasticsearch/_sync/client/tasks.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def list(
159159
] = None,
160160
human: t.Optional[bool] = None,
161161
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
162-
node_id: t.Optional[t.Sequence[str]] = None,
162+
nodes: t.Optional[t.Union[str, t.Sequence[str]]] = None,
163163
parent_task_id: t.Optional[str] = None,
164164
pretty: t.Optional[bool] = None,
165165
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
@@ -179,7 +179,7 @@ def list(
179179
:param master_timeout: Period to wait for a connection to the master node. If
180180
no response is received before the timeout expires, the request fails and
181181
returns an error.
182-
:param node_id: Comma-separated list of node IDs or names used to limit returned
182+
:param nodes: Comma-separated list of node IDs or names used to limit returned
183183
information.
184184
:param parent_task_id: Parent task ID used to limit returned information. To
185185
return all tasks, omit this parameter or use a value of `-1`.
@@ -205,8 +205,8 @@ def list(
205205
__query["human"] = human
206206
if master_timeout is not None:
207207
__query["master_timeout"] = master_timeout
208-
if node_id is not None:
209-
__query["node_id"] = node_id
208+
if nodes is not None:
209+
__query["nodes"] = nodes
210210
if parent_task_id is not None:
211211
__query["parent_task_id"] = parent_task_id
212212
if pretty is not None:

0 commit comments

Comments
 (0)