@@ -141,6 +141,7 @@ def add_runs(
141141 task_group_id : str ,
142142 * ,
143143 inputs : Iterable [BetaRunInputParam ],
144+ refresh_status : bool | Omit = omit ,
144145 default_task_spec : Optional [TaskSpecParam ] | Omit = omit ,
145146 betas : List [ParallelBetaParam ] | Omit = omit ,
146147 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -197,7 +198,13 @@ def add_runs(
197198 task_group_add_runs_params .TaskGroupAddRunsParams ,
198199 ),
199200 options = make_request_options (
200- extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
201+ extra_headers = extra_headers ,
202+ extra_query = extra_query ,
203+ extra_body = extra_body ,
204+ timeout = timeout ,
205+ query = maybe_transform (
206+ {"refresh_status" : refresh_status }, task_group_add_runs_params .TaskGroupAddRunsParams
207+ ),
201208 ),
202209 cast_to = TaskGroupRunResponse ,
203210 )
@@ -428,6 +435,7 @@ async def add_runs(
428435 task_group_id : str ,
429436 * ,
430437 inputs : Iterable [BetaRunInputParam ],
438+ refresh_status : bool | Omit = omit ,
431439 default_task_spec : Optional [TaskSpecParam ] | Omit = omit ,
432440 betas : List [ParallelBetaParam ] | Omit = omit ,
433441 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -484,7 +492,13 @@ async def add_runs(
484492 task_group_add_runs_params .TaskGroupAddRunsParams ,
485493 ),
486494 options = make_request_options (
487- extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
495+ extra_headers = extra_headers ,
496+ extra_query = extra_query ,
497+ extra_body = extra_body ,
498+ timeout = timeout ,
499+ query = await async_maybe_transform (
500+ {"refresh_status" : refresh_status }, task_group_add_runs_params .TaskGroupAddRunsParams
501+ ),
488502 ),
489503 cast_to = TaskGroupRunResponse ,
490504 )
0 commit comments