Skip to content

Commit a4224a2

Browse files
authored
Update core and release version (#314)
1 parent dbf96fd commit a4224a2

26 files changed

+1216
-613
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "temporalio"
3-
version = "1.1.0"
3+
version = "1.2.0"
44
description = "Temporal.io Python SDK"
55
license = "MIT"
66
authors = ["Temporal Technologies Inc <sdk@temporal.io>"]

temporalio/api/common/v1/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
Payloads,
1010
RetryPolicy,
1111
SearchAttributes,
12+
WorkerVersionCapabilities,
13+
WorkerVersionStamp,
1214
WorkflowExecution,
1315
WorkflowType,
1416
)
@@ -24,6 +26,8 @@
2426
"Payloads",
2527
"RetryPolicy",
2628
"SearchAttributes",
29+
"WorkerVersionCapabilities",
30+
"WorkerVersionStamp",
2731
"WorkflowExecution",
2832
"WorkflowType",
2933
]

temporalio/api/common/v1/message_pb2.py

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

temporalio/api/common/v1/message_pb2.pyi

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,3 +437,50 @@ class MeteringMetadata(google.protobuf.message.Message):
437437
) -> None: ...
438438

439439
global___MeteringMetadata = MeteringMetadata
440+
441+
class WorkerVersionStamp(google.protobuf.message.Message):
442+
"""Identifies the version(s) of a worker that processed a task"""
443+
444+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
445+
446+
BUILD_ID_FIELD_NUMBER: builtins.int
447+
BUNDLE_ID_FIELD_NUMBER: builtins.int
448+
build_id: builtins.str
449+
"""An opaque whole-worker identifier"""
450+
bundle_id: builtins.str
451+
"""Set if the worker used a dynamically loadable bundle to process
452+
the task. The bundle could be a WASM blob, JS bundle, etc.
453+
"""
454+
def __init__(
455+
self,
456+
*,
457+
build_id: builtins.str = ...,
458+
bundle_id: builtins.str = ...,
459+
) -> None: ...
460+
def ClearField(
461+
self,
462+
field_name: typing_extensions.Literal[
463+
"build_id", b"build_id", "bundle_id", b"bundle_id"
464+
],
465+
) -> None: ...
466+
467+
global___WorkerVersionStamp = WorkerVersionStamp
468+
469+
class WorkerVersionCapabilities(google.protobuf.message.Message):
470+
"""Identifies the version(s) that a worker is compatible with when polling or identifying itself"""
471+
472+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
473+
474+
BUILD_ID_FIELD_NUMBER: builtins.int
475+
build_id: builtins.str
476+
"""An opaque whole-worker identifier"""
477+
def __init__(
478+
self,
479+
*,
480+
build_id: builtins.str = ...,
481+
) -> None: ...
482+
def ClearField(
483+
self, field_name: typing_extensions.Literal["build_id", b"build_id"]
484+
) -> None: ...
485+
486+
global___WorkerVersionCapabilities = WorkerVersionCapabilities

temporalio/api/enums/v1/failed_cause_pb2.py

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

temporalio/api/enums/v1/failed_cause_pb2.pyi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,8 @@ class _SignalExternalWorkflowExecutionFailedCauseEnumTypeWrapper(
249249
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: _SignalExternalWorkflowExecutionFailedCause.ValueType # 0
250250
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND: _SignalExternalWorkflowExecutionFailedCause.ValueType # 1
251251
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: _SignalExternalWorkflowExecutionFailedCause.ValueType # 2
252+
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED: _SignalExternalWorkflowExecutionFailedCause.ValueType # 3
253+
"""Signal count limit is per workflow and controlled by server dynamic config "history.maximumSignalsPerExecution" """
252254

253255
class SignalExternalWorkflowExecutionFailedCause(
254256
_SignalExternalWorkflowExecutionFailedCause,
@@ -258,6 +260,8 @@ class SignalExternalWorkflowExecutionFailedCause(
258260
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: SignalExternalWorkflowExecutionFailedCause.ValueType # 0
259261
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND: SignalExternalWorkflowExecutionFailedCause.ValueType # 1
260262
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: SignalExternalWorkflowExecutionFailedCause.ValueType # 2
263+
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED: SignalExternalWorkflowExecutionFailedCause.ValueType # 3
264+
"""Signal count limit is per workflow and controlled by server dynamic config "history.maximumSignalsPerExecution" """
261265
global___SignalExternalWorkflowExecutionFailedCause = (
262266
SignalExternalWorkflowExecutionFailedCause
263267
)

temporalio/api/history/v1/message_pb2.py

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

0 commit comments

Comments
 (0)