File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ def __init__(self, service: "MyNexusService"):
7474
7575 async def start (
7676 self , input : HelloInput , options : nexusrpc .handler .StartOperationOptions
77- ) -> temporalio .nexus .handler .AsyncWorkflowOperationResult [HelloOutput ]:
77+ ) -> temporalio .nexus .handler .StartWorkflowOperationResult [HelloOutput ]:
7878 self .service .db_client .execute ("<some query>" )
7979 workflow_id = "default-workflow-id"
8080 return await temporalio .nexus .handler .start_workflow (
@@ -154,7 +154,7 @@ async def echo2(
154154 @temporalio .nexus .handler .workflow_operation
155155 async def hello2 (
156156 self , input : HelloInput , options : nexusrpc .handler .StartOperationOptions
157- ) -> temporalio .nexus .handler .AsyncWorkflowOperationResult [HelloOutput ]:
157+ ) -> temporalio .nexus .handler .StartWorkflowOperationResult [HelloOutput ]:
158158 self .db_client .execute ("<some query>" )
159159 workflow_id = "default-workflow-id"
160160 input .name += " [via shorthand]"
You can’t perform that action at this time.
0 commit comments