File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -1020,12 +1020,12 @@ def __post_init__(self):
1020
1020
class VersioningBehavior (Enum ):
1021
1021
"""Specifies when a workflow might move from a worker of one Build Id to another.
1022
1022
1023
- NOTE : Experimental API.
1023
+ WARNING : Experimental API.
1024
1024
"""
1025
1025
1026
1026
UNSPECIFIED = 1
1027
1027
""" An unspecified versioning behavior. By default, workers opting into worker versioning will
1028
- be required to specify a behavior. See TODO: Add link to worker options ."""
1028
+ be required to specify a behavior. See :py:class:`temporalio. worker.WorkerDeploymentOptions` ."""
1029
1029
PINNED = 2
1030
1030
"""The workflow will be pinned to the current Build ID unless manually moved."""
1031
1031
AUTO_UPGRADE = 3
@@ -1046,7 +1046,7 @@ def _to_proto(self) -> temporalio.api.enums.v1.VersioningBehavior.ValueType:
1046
1046
class WorkerDeploymentVersion :
1047
1047
"""Represents the version of a specific worker deployment.
1048
1048
1049
- NOTE : Experimental API.
1049
+ WARNING : Experimental API.
1050
1050
"""
1051
1051
1052
1052
_deployment_name : str
Original file line number Diff line number Diff line change @@ -336,7 +336,6 @@ async def _handle_activation(
336
336
337
337
# Always set the run ID on the completion
338
338
completion .run_id = act .run_id
339
- # TODO: Could set versioning behavior here?
340
339
341
340
# Encode the completion if there's a codec and not cache remove job
342
341
if self ._data_converter .payload_codec :
Original file line number Diff line number Diff line change @@ -99,9 +99,6 @@ def defn(
99
99
) -> Callable [[ClassType ], ClassType ]: ...
100
100
101
101
102
- # TODO: Pass versioning behavior here or do it via a method in dynamic workflow impl like Java?
103
-
104
-
105
102
def defn (
106
103
cls : Optional [ClassType ] = None ,
107
104
* ,
You can’t perform that action at this time.
0 commit comments