Skip to content

Commit 95fc1c9

Browse files
authored
Bump core (#926)
1 parent ac7fcc5 commit 95fc1c9

File tree

5 files changed

+33
-33
lines changed

5 files changed

+33
-33
lines changed

temporalio/bridge/proto/nexus/nexus_pb2.py

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

temporalio/bridge/proto/nexus/nexus_pb2.pyi

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,35 +60,35 @@ class _NexusOperationCancellationTypeEnumTypeWrapper(
6060
builtins.type,
6161
): # noqa: F821
6262
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
6466
"""Do not request cancellation of the nexus operation if already scheduled"""
65-
TRY_CANCEL: _NexusOperationCancellationType.ValueType # 1
67+
TRY_CANCEL: _NexusOperationCancellationType.ValueType # 2
6668
"""Initiate a cancellation request for the Nexus operation and immediately report cancellation
6769
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.
6870
If you want to ensure that cancellation is delivered to the operation, use WAIT_CANCELLATION_REQUESTED.
6971
"""
70-
WAIT_CANCELLATION_REQUESTED: _NexusOperationCancellationType.ValueType # 2
72+
WAIT_CANCELLATION_REQUESTED: _NexusOperationCancellationType.ValueType # 3
7173
"""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."""
7474

7575
class NexusOperationCancellationType(
7676
_NexusOperationCancellationType,
7777
metaclass=_NexusOperationCancellationTypeEnumTypeWrapper,
7878
):
7979
"""Controls at which point to report back to lang when a nexus operation is cancelled"""
8080

81-
ABANDON: NexusOperationCancellationType.ValueType # 0
81+
WAIT_CANCELLATION_COMPLETED: NexusOperationCancellationType.ValueType # 0
82+
"""Wait for operation cancellation completion. Default."""
83+
ABANDON: NexusOperationCancellationType.ValueType # 1
8284
"""Do not request cancellation of the nexus operation if already scheduled"""
83-
TRY_CANCEL: NexusOperationCancellationType.ValueType # 1
85+
TRY_CANCEL: NexusOperationCancellationType.ValueType # 2
8486
"""Initiate a cancellation request for the Nexus operation and immediately report cancellation
8587
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.
8688
If you want to ensure that cancellation is delivered to the operation, use WAIT_CANCELLATION_REQUESTED.
8789
"""
88-
WAIT_CANCELLATION_REQUESTED: NexusOperationCancellationType.ValueType # 2
90+
WAIT_CANCELLATION_REQUESTED: NexusOperationCancellationType.ValueType # 3
8991
"""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."""
9292
global___NexusOperationCancellationType = NexusOperationCancellationType
9393

9494
class NexusOperationResult(google.protobuf.message.Message):

0 commit comments

Comments
 (0)