@@ -57,6 +57,7 @@ def create(
5757 app_name : str ,
5858 version : str ,
5959 async_ : bool | Omit = omit ,
60+ async_timeout_seconds : int | Omit = omit ,
6061 payload : str | Omit = omit ,
6162 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
6263 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -78,6 +79,9 @@ def create(
7879 async_: If true, invoke asynchronously. When set, the API responds 202 Accepted with
7980 status "queued".
8081
82+ async_timeout_seconds: Timeout in seconds for async invocations (min 10, max 3600). Only applies when
83+ async is true.
84+
8185 payload: Input data for the action, sent as a JSON string.
8286
8387 extra_headers: Send extra headers
@@ -96,6 +100,7 @@ def create(
96100 "app_name" : app_name ,
97101 "version" : version ,
98102 "async_" : async_ ,
103+ "async_timeout_seconds" : async_timeout_seconds ,
99104 "payload" : payload ,
100105 },
101106 invocation_create_params .InvocationCreateParams ,
@@ -370,6 +375,7 @@ async def create(
370375 app_name : str ,
371376 version : str ,
372377 async_ : bool | Omit = omit ,
378+ async_timeout_seconds : int | Omit = omit ,
373379 payload : str | Omit = omit ,
374380 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
375381 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -391,6 +397,9 @@ async def create(
391397 async_: If true, invoke asynchronously. When set, the API responds 202 Accepted with
392398 status "queued".
393399
400+ async_timeout_seconds: Timeout in seconds for async invocations (min 10, max 3600). Only applies when
401+ async is true.
402+
394403 payload: Input data for the action, sent as a JSON string.
395404
396405 extra_headers: Send extra headers
@@ -409,6 +418,7 @@ async def create(
409418 "app_name" : app_name ,
410419 "version" : version ,
411420 "async_" : async_ ,
421+ "async_timeout_seconds" : async_timeout_seconds ,
412422 "payload" : payload ,
413423 },
414424 invocation_create_params .InvocationCreateParams ,
0 commit comments