Generated API reference
classyak.InvocationOptions
yak.InvocationOptions
Control-plane options kept separate from user function arguments.
Control-plane options kept separate from user function arguments.
timeout is a convenience in seconds. execution_timeout_ms is the
exact wire value. Supplying both is ambiguous and rejected.
Python SDK reference · Yak 0.1.19release v0.1.19
provenance
c2e8cf7c309abe376f390072b94a9ecd3e633080Signature
InvocationOptions(timeout: Optional[float] = None, execution_timeout_ms: Optional[int] = None)
Parameters#
| Name | Type | Default | Description |
|---|---|---|---|
timeoutpositional-or-keyword |
Optional[float] |
None |
Maximum execution time in seconds. |
execution_timeout_mspositional-or-keyword |
Optional[int] |
None |
Exact maximum execution time in milliseconds. |
Raises#
ValueErrorIf both timeout forms are supplied or a value is outside
the bounded execution-time range.
method
InvocationOptions.execution_timeout#
Return the normalized wire timeout in milliseconds.
Return the normalized wire timeout in milliseconds.
Signature
execution_timeout() -> Optional[int]
Returns#
Optional[int]A positive timeout in milliseconds, or None when no timeout
Raises#
ValueErrorIf both timeout forms are supplied or a configured
value is invalid.
BoundaryPreview limitations
- This page is generated from the pinned release schema; update the site pin when a new release should be documented.
- Lifecycle, persistence and operational context belong in the linked handwritten guides.