Skip to content

Commit

Permalink
Update core and release version (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
cretz authored May 1, 2023
1 parent dbf96fd commit a4224a2
Show file tree
Hide file tree
Showing 26 changed files with 1,216 additions and 613 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "temporalio"
version = "1.1.0"
version = "1.2.0"
description = "Temporal.io Python SDK"
license = "MIT"
authors = ["Temporal Technologies Inc <[email protected]>"]
Expand Down
4 changes: 4 additions & 0 deletions temporalio/api/common/v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
Payloads,
RetryPolicy,
SearchAttributes,
WorkerVersionCapabilities,
WorkerVersionStamp,
WorkflowExecution,
WorkflowType,
)
Expand All @@ -24,6 +26,8 @@
"Payloads",
"RetryPolicy",
"SearchAttributes",
"WorkerVersionCapabilities",
"WorkerVersionStamp",
"WorkflowExecution",
"WorkflowType",
]
32 changes: 31 additions & 1 deletion temporalio/api/common/v1/message_pb2.py

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

47 changes: 47 additions & 0 deletions temporalio/api/common/v1/message_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -437,3 +437,50 @@ class MeteringMetadata(google.protobuf.message.Message):
) -> None: ...

global___MeteringMetadata = MeteringMetadata

class WorkerVersionStamp(google.protobuf.message.Message):
"""Identifies the version(s) of a worker that processed a task"""

DESCRIPTOR: google.protobuf.descriptor.Descriptor

BUILD_ID_FIELD_NUMBER: builtins.int
BUNDLE_ID_FIELD_NUMBER: builtins.int
build_id: builtins.str
"""An opaque whole-worker identifier"""
bundle_id: builtins.str
"""Set if the worker used a dynamically loadable bundle to process
the task. The bundle could be a WASM blob, JS bundle, etc.
"""
def __init__(
self,
*,
build_id: builtins.str = ...,
bundle_id: builtins.str = ...,
) -> None: ...
def ClearField(
self,
field_name: typing_extensions.Literal[
"build_id", b"build_id", "bundle_id", b"bundle_id"
],
) -> None: ...

global___WorkerVersionStamp = WorkerVersionStamp

class WorkerVersionCapabilities(google.protobuf.message.Message):
"""Identifies the version(s) that a worker is compatible with when polling or identifying itself"""

DESCRIPTOR: google.protobuf.descriptor.Descriptor

BUILD_ID_FIELD_NUMBER: builtins.int
build_id: builtins.str
"""An opaque whole-worker identifier"""
def __init__(
self,
*,
build_id: builtins.str = ...,
) -> None: ...
def ClearField(
self, field_name: typing_extensions.Literal["build_id", b"build_id"]
) -> None: ...

global___WorkerVersionCapabilities = WorkerVersionCapabilities
9 changes: 5 additions & 4 deletions temporalio/api/enums/v1/failed_cause_pb2.py

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

4 changes: 4 additions & 0 deletions temporalio/api/enums/v1/failed_cause_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ class _SignalExternalWorkflowExecutionFailedCauseEnumTypeWrapper(
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: _SignalExternalWorkflowExecutionFailedCause.ValueType # 0
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND: _SignalExternalWorkflowExecutionFailedCause.ValueType # 1
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: _SignalExternalWorkflowExecutionFailedCause.ValueType # 2
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED: _SignalExternalWorkflowExecutionFailedCause.ValueType # 3
"""Signal count limit is per workflow and controlled by server dynamic config "history.maximumSignalsPerExecution" """

class SignalExternalWorkflowExecutionFailedCause(
_SignalExternalWorkflowExecutionFailedCause,
Expand All @@ -258,6 +260,8 @@ class SignalExternalWorkflowExecutionFailedCause(
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: SignalExternalWorkflowExecutionFailedCause.ValueType # 0
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND: SignalExternalWorkflowExecutionFailedCause.ValueType # 1
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: SignalExternalWorkflowExecutionFailedCause.ValueType # 2
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED: SignalExternalWorkflowExecutionFailedCause.ValueType # 3
"""Signal count limit is per workflow and controlled by server dynamic config "history.maximumSignalsPerExecution" """
global___SignalExternalWorkflowExecutionFailedCause = (
SignalExternalWorkflowExecutionFailedCause
)
Expand Down
100 changes: 50 additions & 50 deletions temporalio/api/history/v1/message_pb2.py

Large diffs are not rendered by default.

Loading

0 comments on commit a4224a2

Please sign in to comment.