Skip to content

Bump core #926

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions temporalio/bridge/proto/nexus/nexus_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions temporalio/bridge/proto/nexus/nexus_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -60,35 +60,35 @@ class _NexusOperationCancellationTypeEnumTypeWrapper(
builtins.type,
): # noqa: F821
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
ABANDON: _NexusOperationCancellationType.ValueType # 0
WAIT_CANCELLATION_COMPLETED: _NexusOperationCancellationType.ValueType # 0
"""Wait for operation cancellation completion. Default."""
ABANDON: _NexusOperationCancellationType.ValueType # 1
"""Do not request cancellation of the nexus operation if already scheduled"""
TRY_CANCEL: _NexusOperationCancellationType.ValueType # 1
TRY_CANCEL: _NexusOperationCancellationType.ValueType # 2
"""Initiate a cancellation request for the Nexus operation and immediately report cancellation
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.
If you want to ensure that cancellation is delivered to the operation, use WAIT_CANCELLATION_REQUESTED.
"""
WAIT_CANCELLATION_REQUESTED: _NexusOperationCancellationType.ValueType # 2
WAIT_CANCELLATION_REQUESTED: _NexusOperationCancellationType.ValueType # 3
"""Request cancellation of the operation and wait for confirmation that the request was received."""
WAIT_CANCELLATION_COMPLETED: _NexusOperationCancellationType.ValueType # 3
"""Wait for operation cancellation completion. Default."""

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

ABANDON: NexusOperationCancellationType.ValueType # 0
WAIT_CANCELLATION_COMPLETED: NexusOperationCancellationType.ValueType # 0
"""Wait for operation cancellation completion. Default."""
ABANDON: NexusOperationCancellationType.ValueType # 1
"""Do not request cancellation of the nexus operation if already scheduled"""
TRY_CANCEL: NexusOperationCancellationType.ValueType # 1
TRY_CANCEL: NexusOperationCancellationType.ValueType # 2
"""Initiate a cancellation request for the Nexus operation and immediately report cancellation
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.
If you want to ensure that cancellation is delivered to the operation, use WAIT_CANCELLATION_REQUESTED.
"""
WAIT_CANCELLATION_REQUESTED: NexusOperationCancellationType.ValueType # 2
WAIT_CANCELLATION_REQUESTED: NexusOperationCancellationType.ValueType # 3
"""Request cancellation of the operation and wait for confirmation that the request was received."""
WAIT_CANCELLATION_COMPLETED: NexusOperationCancellationType.ValueType # 3
"""Wait for operation cancellation completion. Default."""
global___NexusOperationCancellationType = NexusOperationCancellationType

class NexusOperationResult(google.protobuf.message.Message):
Expand Down
Loading