@@ -277,6 +277,7 @@ def list(
277277 self ,
278278 agent_id : str ,
279279 * ,
280+ include_live : bool | Omit = omit ,
280281 limit : int | Omit = omit ,
281282 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
282283 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -289,6 +290,8 @@ def list(
289290 List run schedules for an agent.
290291
291292 Args:
293+ include_live: Include live Temporal state and upcoming action times.
294+
292295 extra_headers: Send extra headers
293296
294297 extra_query: Add additional query parameters to the request
@@ -306,7 +309,13 @@ def list(
306309 extra_query = extra_query ,
307310 extra_body = extra_body ,
308311 timeout = timeout ,
309- query = maybe_transform ({"limit" : limit }, schedule_list_params .ScheduleListParams ),
312+ query = maybe_transform (
313+ {
314+ "include_live" : include_live ,
315+ "limit" : limit ,
316+ },
317+ schedule_list_params .ScheduleListParams ,
318+ ),
310319 ),
311320 cast_to = ScheduleListResponse ,
312321 )
@@ -1056,6 +1065,7 @@ async def list(
10561065 self ,
10571066 agent_id : str ,
10581067 * ,
1068+ include_live : bool | Omit = omit ,
10591069 limit : int | Omit = omit ,
10601070 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
10611071 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -1068,6 +1078,8 @@ async def list(
10681078 List run schedules for an agent.
10691079
10701080 Args:
1081+ include_live: Include live Temporal state and upcoming action times.
1082+
10711083 extra_headers: Send extra headers
10721084
10731085 extra_query: Add additional query parameters to the request
@@ -1085,7 +1097,13 @@ async def list(
10851097 extra_query = extra_query ,
10861098 extra_body = extra_body ,
10871099 timeout = timeout ,
1088- query = await async_maybe_transform ({"limit" : limit }, schedule_list_params .ScheduleListParams ),
1100+ query = await async_maybe_transform (
1101+ {
1102+ "include_live" : include_live ,
1103+ "limit" : limit ,
1104+ },
1105+ schedule_list_params .ScheduleListParams ,
1106+ ),
10891107 ),
10901108 cast_to = ScheduleListResponse ,
10911109 )
0 commit comments