@@ -159,7 +159,7 @@ async def list(
159
159
] = None ,
160
160
human : t .Optional [bool ] = None ,
161
161
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 ,
163
163
parent_task_id : t .Optional [str ] = None ,
164
164
pretty : t .Optional [bool ] = None ,
165
165
timeout : t .Optional [t .Union [str , t .Literal [- 1 ], t .Literal [0 ]]] = None ,
@@ -179,7 +179,7 @@ async def list(
179
179
:param master_timeout: Period to wait for a connection to the master node. If
180
180
no response is received before the timeout expires, the request fails and
181
181
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
183
183
information.
184
184
:param parent_task_id: Parent task ID used to limit returned information. To
185
185
return all tasks, omit this parameter or use a value of `-1`.
@@ -205,8 +205,8 @@ async def list(
205
205
__query ["human" ] = human
206
206
if master_timeout is not None :
207
207
__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
210
210
if parent_task_id is not None :
211
211
__query ["parent_task_id" ] = parent_task_id
212
212
if pretty is not None :
0 commit comments