Skip to content

Commit 8f7614c

Browse files
committed
Respond to upstream: StartWorkflowOperationResult
1 parent de85c54 commit 8f7614c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

hello_nexus/handler/nexus_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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]"

0 commit comments

Comments
 (0)