Skip to content

Commit 7e4857f

Browse files
authored
Deprecate VersioningIntent (#902)
1 parent 35b1a35 commit 7e4857f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

temporalio/workflow.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2194,6 +2194,7 @@ def start_activity(
21942194
need to. Contact Temporal before setting this value.
21952195
versioning_intent: When using the Worker Versioning feature, specifies whether this Activity
21962196
should run on a worker with a compatible Build Id or not.
2197+
Deprecated: Use Worker Deployment versioning instead.
21972198
summary: A single-line fixed summary for this activity that may appear in UI/CLI.
21982199
This can be in single-line Temporal markdown format.
21992200
priority: Priority of the activity.
@@ -4161,6 +4162,7 @@ async def start_child_workflow(
41614162
form of this is DEPRECATED.
41624163
versioning_intent: When using the Worker Versioning feature, specifies whether this Child
41634164
Workflow should run on a worker with a compatible Build Id or not.
4165+
Deprecated: Use Worker Deployment versioning instead.
41644166
static_summary: A single-line fixed summary for this child workflow execution that may appear
41654167
in the UI/CLI. This can be in single-line Temporal markdown format.
41664168
static_details: General fixed details for this child workflow execution that may appear in
@@ -4624,6 +4626,7 @@ def continue_as_new(
46244626
DEPRECATED.
46254627
versioning_intent: When using the Worker Versioning feature, specifies whether this Workflow
46264628
should Continue-as-New onto a worker with a compatible Build Id or not.
4629+
Deprecated: Use Worker Deployment versioning instead.
46274630
46284631
Returns:
46294632
Never returns, always raises a :py:class:`ContinueAsNewError`.
@@ -5056,6 +5059,9 @@ class VersioningIntent(Enum):
50565059
Where this type is accepted optionally, an unset value indicates that the SDK should choose the
50575060
most sensible default behavior for the type of command, accounting for whether the command will
50585061
be run on the same task queue as the current worker.
5062+
5063+
.. deprecated::
5064+
Use Worker Deployment versioning instead.
50595065
"""
50605066

50615067
COMPATIBLE = 1

0 commit comments

Comments
 (0)