Skip to content

Deprecate VersioningIntent #902

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 1 commit into from
Jun 18, 2025
Merged
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
6 changes: 6 additions & 0 deletions temporalio/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -2194,6 +2194,7 @@ def start_activity(
need to. Contact Temporal before setting this value.
versioning_intent: When using the Worker Versioning feature, specifies whether this Activity
should run on a worker with a compatible Build Id or not.
Deprecated: Use Worker Deployment versioning instead.
summary: A single-line fixed summary for this activity that may appear in UI/CLI.
This can be in single-line Temporal markdown format.
priority: Priority of the activity.
Expand Down Expand Up @@ -4161,6 +4162,7 @@ async def start_child_workflow(
form of this is DEPRECATED.
versioning_intent: When using the Worker Versioning feature, specifies whether this Child
Workflow should run on a worker with a compatible Build Id or not.
Deprecated: Use Worker Deployment versioning instead.
static_summary: A single-line fixed summary for this child workflow execution that may appear
in the UI/CLI. This can be in single-line Temporal markdown format.
static_details: General fixed details for this child workflow execution that may appear in
Expand Down Expand Up @@ -4624,6 +4626,7 @@ def continue_as_new(
DEPRECATED.
versioning_intent: When using the Worker Versioning feature, specifies whether this Workflow
should Continue-as-New onto a worker with a compatible Build Id or not.
Deprecated: Use Worker Deployment versioning instead.

Returns:
Never returns, always raises a :py:class:`ContinueAsNewError`.
Expand Down Expand Up @@ -5056,6 +5059,9 @@ class VersioningIntent(Enum):
Where this type is accepted optionally, an unset value indicates that the SDK should choose the
most sensible default behavior for the type of command, accounting for whether the command will
be run on the same task queue as the current worker.

.. deprecated::
Use Worker Deployment versioning instead.
"""

COMPATIBLE = 1
Expand Down