Skip to content

Commit f3f3dcc

Browse files
committed
Enable sandbox in Nexus sample
1 parent 212f846 commit f3f3dcc

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

hello_nexus/caller/app.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from typing import Optional
44

55
from temporalio.client import Client
6-
from temporalio.worker import UnsandboxedWorkflowRunner, Worker
6+
from temporalio.worker import Worker
77

88
from hello_nexus.caller.workflows import CallerWorkflow
99
from hello_nexus.service import MyOutput
@@ -24,9 +24,6 @@ async def execute_caller_workflow(
2424
client,
2525
task_queue=TASK_QUEUE,
2626
workflows=[CallerWorkflow],
27-
# TODO(dan): isinstance(op, nexusrpc.contract.Operation) is failing under the
28-
# sandbox in temporalio/worker/_interceptor.py
29-
workflow_runner=UnsandboxedWorkflowRunner(),
3027
):
3128
return await client.execute_workflow(
3229
CallerWorkflow.run,

0 commit comments

Comments
 (0)