Skip to content
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
1 change: 0 additions & 1 deletion temporalio/bridge/Cargo.lock

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

2 changes: 2 additions & 0 deletions temporalio/bridge/proto/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
ActivitySlotInfo,
ActivityTaskCompletion,
LocalActivitySlotInfo,
NexusSlotInfo,
WorkflowSlotInfo,
)

Expand All @@ -11,5 +12,6 @@
"ActivitySlotInfo",
"ActivityTaskCompletion",
"LocalActivitySlotInfo",
"NexusSlotInfo",
"WorkflowSlotInfo",
]
16 changes: 15 additions & 1 deletion temporalio/bridge/proto/core_interface_pb2.py

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

24 changes: 24 additions & 0 deletions temporalio/bridge/proto/core_interface_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,27 @@ class LocalActivitySlotInfo(google.protobuf.message.Message):
) -> None: ...

global___LocalActivitySlotInfo = LocalActivitySlotInfo

class NexusSlotInfo(google.protobuf.message.Message):
"""Info about nexus task slot usage"""

DESCRIPTOR: google.protobuf.descriptor.Descriptor

SERVICE_FIELD_NUMBER: builtins.int
OPERATION_FIELD_NUMBER: builtins.int
service: builtins.str
operation: builtins.str
def __init__(
self,
*,
service: builtins.str = ...,
operation: builtins.str = ...,
) -> None: ...
def ClearField(
self,
field_name: typing_extensions.Literal[
"operation", b"operation", "service", b"service"
],
) -> None: ...

global___NexusSlotInfo = NexusSlotInfo
15 changes: 15 additions & 0 deletions temporalio/bridge/proto/nexus/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from .nexus_pb2 import (
CancelNexusTask,
NexusOperationResult,
NexusTask,
NexusTaskCancelReason,
NexusTaskCompletion,
)

__all__ = [
"CancelNexusTask",
"NexusOperationResult",
"NexusTask",
"NexusTaskCancelReason",
"NexusTaskCompletion",
]
107 changes: 107 additions & 0 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.

Loading
Loading