@@ -60,35 +60,35 @@ class _NexusOperationCancellationTypeEnumTypeWrapper(
60
60
builtins .type ,
61
61
): # noqa: F821
62
62
DESCRIPTOR : google .protobuf .descriptor .EnumDescriptor
63
- ABANDON : _NexusOperationCancellationType .ValueType # 0
63
+ WAIT_CANCELLATION_COMPLETED : _NexusOperationCancellationType .ValueType # 0
64
+ """Wait for operation cancellation completion. Default."""
65
+ ABANDON : _NexusOperationCancellationType .ValueType # 1
64
66
"""Do not request cancellation of the nexus operation if already scheduled"""
65
- TRY_CANCEL : _NexusOperationCancellationType .ValueType # 1
67
+ TRY_CANCEL : _NexusOperationCancellationType .ValueType # 2
66
68
"""Initiate a cancellation request for the Nexus operation and immediately report cancellation
67
69
to the caller. Note that it doesn't guarantee that cancellation is delivered to the operation if calling workflow exits before the delivery is done.
68
70
If you want to ensure that cancellation is delivered to the operation, use WAIT_CANCELLATION_REQUESTED.
69
71
"""
70
- WAIT_CANCELLATION_REQUESTED : _NexusOperationCancellationType .ValueType # 2
72
+ WAIT_CANCELLATION_REQUESTED : _NexusOperationCancellationType .ValueType # 3
71
73
"""Request cancellation of the operation and wait for confirmation that the request was received."""
72
- WAIT_CANCELLATION_COMPLETED : _NexusOperationCancellationType .ValueType # 3
73
- """Wait for operation cancellation completion. Default."""
74
74
75
75
class NexusOperationCancellationType (
76
76
_NexusOperationCancellationType ,
77
77
metaclass = _NexusOperationCancellationTypeEnumTypeWrapper ,
78
78
):
79
79
"""Controls at which point to report back to lang when a nexus operation is cancelled"""
80
80
81
- ABANDON : NexusOperationCancellationType .ValueType # 0
81
+ WAIT_CANCELLATION_COMPLETED : NexusOperationCancellationType .ValueType # 0
82
+ """Wait for operation cancellation completion. Default."""
83
+ ABANDON : NexusOperationCancellationType .ValueType # 1
82
84
"""Do not request cancellation of the nexus operation if already scheduled"""
83
- TRY_CANCEL : NexusOperationCancellationType .ValueType # 1
85
+ TRY_CANCEL : NexusOperationCancellationType .ValueType # 2
84
86
"""Initiate a cancellation request for the Nexus operation and immediately report cancellation
85
87
to the caller. Note that it doesn't guarantee that cancellation is delivered to the operation if calling workflow exits before the delivery is done.
86
88
If you want to ensure that cancellation is delivered to the operation, use WAIT_CANCELLATION_REQUESTED.
87
89
"""
88
- WAIT_CANCELLATION_REQUESTED : NexusOperationCancellationType .ValueType # 2
90
+ WAIT_CANCELLATION_REQUESTED : NexusOperationCancellationType .ValueType # 3
89
91
"""Request cancellation of the operation and wait for confirmation that the request was received."""
90
- WAIT_CANCELLATION_COMPLETED : NexusOperationCancellationType .ValueType # 3
91
- """Wait for operation cancellation completion. Default."""
92
92
global___NexusOperationCancellationType = NexusOperationCancellationType
93
93
94
94
class NexusOperationResult (google .protobuf .message .Message ):
0 commit comments