Skip to content

Commit 35a0e6c

Browse files
authored
Update core (#745)
1 parent 07d3567 commit 35a0e6c

15 files changed

+899
-121
lines changed

temporalio/bridge/Cargo.lock

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

temporalio/bridge/proto/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
ActivitySlotInfo,
44
ActivityTaskCompletion,
55
LocalActivitySlotInfo,
6+
NexusSlotInfo,
67
WorkflowSlotInfo,
78
)
89

@@ -11,5 +12,6 @@
1112
"ActivitySlotInfo",
1213
"ActivityTaskCompletion",
1314
"LocalActivitySlotInfo",
15+
"NexusSlotInfo",
1416
"WorkflowSlotInfo",
1517
]

temporalio/bridge/proto/core_interface_pb2.py

+15-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

temporalio/bridge/proto/core_interface_pb2.pyi

+24
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,27 @@ class LocalActivitySlotInfo(google.protobuf.message.Message):
141141
) -> None: ...
142142

143143
global___LocalActivitySlotInfo = LocalActivitySlotInfo
144+
145+
class NexusSlotInfo(google.protobuf.message.Message):
146+
"""Info about nexus task slot usage"""
147+
148+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
149+
150+
SERVICE_FIELD_NUMBER: builtins.int
151+
OPERATION_FIELD_NUMBER: builtins.int
152+
service: builtins.str
153+
operation: builtins.str
154+
def __init__(
155+
self,
156+
*,
157+
service: builtins.str = ...,
158+
operation: builtins.str = ...,
159+
) -> None: ...
160+
def ClearField(
161+
self,
162+
field_name: typing_extensions.Literal[
163+
"operation", b"operation", "service", b"service"
164+
],
165+
) -> None: ...
166+
167+
global___NexusSlotInfo = NexusSlotInfo
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
from .nexus_pb2 import (
2+
CancelNexusTask,
3+
NexusOperationResult,
4+
NexusTask,
5+
NexusTaskCancelReason,
6+
NexusTaskCompletion,
7+
)
8+
9+
__all__ = [
10+
"CancelNexusTask",
11+
"NexusOperationResult",
12+
"NexusTask",
13+
"NexusTaskCancelReason",
14+
"NexusTaskCompletion",
15+
]

temporalio/bridge/proto/nexus/nexus_pb2.py

+107
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)