We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 783cd72 commit bbc0be4Copy full SHA for bbc0be4
tests/nexus/test_workflow_caller_cancellation_types.py
@@ -94,9 +94,11 @@ async def cancel(
94
# by the caller server. At that point, the caller server will write
95
# NexusOperationCancelRequestCompleted. For TRY_CANCEL we want to prove that the nexus
96
# op handle future can be resolved as cancelled before any of that.
97
- caller_wf = nexus.client().get_workflow_handle_for(
98
- CallerWorkflow.run,
99
- workflow_id=test_context.caller_workflow_id,
+ caller_wf: WorkflowHandle[Any, CancellationResult] = (
+ nexus.client().get_workflow_handle_for(
+ CallerWorkflow.run,
100
+ workflow_id=test_context.caller_workflow_id,
101
+ )
102
)
103
await caller_wf.execute_update(
104
CallerWorkflow.wait_caller_op_future_resolved
0 commit comments