Skip to content

Commit c385c8a

Browse files
committed
Fix bug found by cursor bugbot
1 parent e1319f5 commit c385c8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/nexus/test_workflow_caller_cancellation_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ async def run(self, input: Input) -> CancellationResult:
7272
input=None,
7373
cancellation_type=input.cancellation_type,
7474
)
75-
if input.cancellation_type
75+
if input.cancellation_type is not None
7676
else self.nexus_client.start_operation(Service.workflow_op, input=None)
7777
)
7878
op_handle.cancel()

0 commit comments

Comments
 (0)