class documentation
class InSandbox: (source)
Constructor: InSandbox(instance_details, runner_class, workflow_class)
Instance that is expected to run inside a sandbox.
Method | __init__ |
Create in-sandbox instance. |
Method | activate |
Send activation to this instance. |
Instance Variable | instance |
Undocumented |
def __init__(self, instance_details:
temporalio.worker._workflow_instance.WorkflowInstanceDetails
, runner_class: Type[ temporalio.worker._workflow_instance.WorkflowRunner]
, workflow_class: Type
):
(source)
¶
Create in-sandbox instance.
def activate(self, act:
temporalio.bridge.proto.workflow_activation.WorkflowActivation
) -> temporalio.bridge.proto.workflow_completion.WorkflowActivationCompletion
:
(source)
¶
Send activation to this instance.