Skip to content

Versioning Override support #871

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 8 commits into from
May 16, 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
21 changes: 0 additions & 21 deletions temporalio/api/activity/v1/message_pb2.pyi
Original file line number Diff line number Diff line change
@@ -1,27 +1,6 @@
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
The MIT License

Copyright (c) 2020 Temporal Technologies Inc. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
"""

import builtins
Expand Down
16 changes: 8 additions & 8 deletions temporalio/api/batch/v1/message_pb2.py

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

42 changes: 20 additions & 22 deletions temporalio/api/batch/v1/message_pb2.pyi
Original file line number Diff line number Diff line change
@@ -1,35 +1,16 @@
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
The MIT License

Copyright (c) 2020 Temporal Technologies Inc. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
"""

import builtins
import collections.abc
import sys

import google.protobuf.descriptor
import google.protobuf.duration_pb2
import google.protobuf.field_mask_pb2
import google.protobuf.internal.containers
import google.protobuf.message
import google.protobuf.timestamp_pb2

Expand Down Expand Up @@ -231,6 +212,7 @@ class BatchOperationReset(google.protobuf.message.Message):
OPTIONS_FIELD_NUMBER: builtins.int
RESET_TYPE_FIELD_NUMBER: builtins.int
RESET_REAPPLY_TYPE_FIELD_NUMBER: builtins.int
POST_RESET_OPERATIONS_FIELD_NUMBER: builtins.int
identity: builtins.str
"""The identity of the worker/client."""
@property
Expand All @@ -240,13 +222,27 @@ class BatchOperationReset(google.protobuf.message.Message):
"""Reset type (deprecated, use `options`)."""
reset_reapply_type: temporalio.api.enums.v1.reset_pb2.ResetReapplyType.ValueType
"""History event reapply options (deprecated, use `options`)."""
@property
def post_reset_operations(
self,
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
temporalio.api.workflow.v1.message_pb2.PostResetOperation
]:
"""Operations to perform after the workflow has been reset. These operations will be applied
to the *new* run of the workflow execution in the order they are provided.
All operations are applied to the workflow before the first new workflow task is generated
"""
def __init__(
self,
*,
identity: builtins.str = ...,
options: temporalio.api.common.v1.message_pb2.ResetOptions | None = ...,
reset_type: temporalio.api.enums.v1.reset_pb2.ResetType.ValueType = ...,
reset_reapply_type: temporalio.api.enums.v1.reset_pb2.ResetReapplyType.ValueType = ...,
post_reset_operations: collections.abc.Iterable[
temporalio.api.workflow.v1.message_pb2.PostResetOperation
]
| None = ...,
) -> None: ...
def HasField(
self, field_name: typing_extensions.Literal["options", b"options"]
Expand All @@ -258,6 +254,8 @@ class BatchOperationReset(google.protobuf.message.Message):
b"identity",
"options",
b"options",
"post_reset_operations",
b"post_reset_operations",
"reset_reapply_type",
b"reset_reapply_type",
"reset_type",
Expand All @@ -283,7 +281,7 @@ class BatchOperationUpdateWorkflowExecutionOptions(google.protobuf.message.Messa
def workflow_execution_options(
self,
) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions:
"""Workflow Execution options. Partial updates are accepted and controlled by update_mask."""
"""Update Workflow options that were originally specified via StartWorkflowExecution. Partial updates are accepted and controlled by update_mask."""
@property
def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
"""Controls which fields from `workflow_execution_options` will be applied.
Expand Down
21 changes: 0 additions & 21 deletions temporalio/api/command/v1/message_pb2.pyi
Original file line number Diff line number Diff line change
@@ -1,27 +1,6 @@
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
The MIT License

Copyright (c) 2020 Temporal Technologies Inc. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
"""

import builtins
Expand Down
Loading
Loading