send_durable_execution_callback_success¶
Operation¶
send_durable_execution_callback_success
async
¶
send_durable_execution_callback_success(input: SendDurableExecutionCallbackSuccessInput, plugins: list[Plugin] | None = None) -> SendDurableExecutionCallbackSuccessOutput
Sends a successful completion response for a callback operation in a durable execution. Use this API when an external system has successfully completed a callback operation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
SendDurableExecutionCallbackSuccessInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
SendDurableExecutionCallbackSuccessOutput
|
An instance of |
Input¶
SendDurableExecutionCallbackSuccessInput
dataclass
¶
Dataclass for SendDurableExecutionCallbackSuccessInput structure.
Attributes¶
callback_id
class-attribute
instance-attribute
¶
callback_id: str | None = None
The unique identifier for the callback operation.
result
class-attribute
instance-attribute
¶
result: bytes | None = field(repr=False, default=None)
The result data from the successful callback operation. Maximum size is 256 KB.
Output¶
SendDurableExecutionCallbackSuccessOutput
dataclass
¶
Dataclass for SendDurableExecutionCallbackSuccessOutput structure.