Skip to content

Commit ff0c3a1

Browse files
committed
Remove experimental notices for worker tuners
1 parent cde3427 commit ff0c3a1

File tree

2 files changed

+0
-38
lines changed

2 files changed

+0
-38
lines changed

temporalio/worker/_tuning.py

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ class FixedSizeSlotSupplier:
2828
@dataclass(frozen=True)
2929
class ResourceBasedTunerConfig:
3030
"""Options for a :py:class:`ResourceBasedTuner` or a :py:class:`ResourceBasedSlotSupplier`.
31-
32-
.. warning::
33-
The resource based tuner is currently experimental.
3431
"""
3532

3633
target_memory_usage: float
@@ -45,9 +42,6 @@ class ResourceBasedTunerConfig:
4542
@dataclass(frozen=True)
4643
class ResourceBasedSlotConfig:
4744
"""Options for a specific slot type being used with a :py:class:`ResourceBasedSlotSupplier`.
48-
49-
.. warning::
50-
The resource based tuner is currently experimental.
5145
"""
5246

5347
minimum_slots: Optional[int] = None
@@ -66,9 +60,6 @@ class ResourceBasedSlotConfig:
6660
@dataclass(frozen=True)
6761
class ResourceBasedSlotSupplier:
6862
"""A slot supplier that will dynamically adjust the number of slots based on resource usage.
69-
70-
.. warning::
71-
The resource based tuner is currently experimental.
7263
"""
7364

7465
slot_config: ResourceBasedSlotConfig
@@ -81,9 +72,6 @@ class SlotPermit:
8172
"""A permit to use a slot for a workflow/activity/local activity task.
8273
8374
You can inherit from this class to add your own data to the permit.
84-
85-
.. warning::
86-
Custom slot suppliers are currently experimental.
8775
"""
8876

8977
pass
@@ -92,9 +80,6 @@ class SlotPermit:
9280
# WARNING: This must match Rust worker::SlotReserveCtx
9381
class SlotReserveContext(Protocol):
9482
"""Context for reserving a slot from a :py:class:`CustomSlotSupplier`.
95-
96-
.. warning::
97-
Custom slot suppliers are currently experimental.
9883
"""
9984

10085
slot_type: Literal["workflow", "activity", "local-activity"]
@@ -119,9 +104,6 @@ class SlotReserveContext(Protocol):
119104
@runtime_checkable
120105
class WorkflowSlotInfo(Protocol):
121106
"""Info about a workflow task slot usage.
122-
123-
.. warning::
124-
Custom slot suppliers are currently experimental.
125107
"""
126108

127109
workflow_type: str
@@ -132,9 +114,6 @@ class WorkflowSlotInfo(Protocol):
132114
@runtime_checkable
133115
class ActivitySlotInfo(Protocol):
134116
"""Info about an activity task slot usage.
135-
136-
.. warning::
137-
Custom slot suppliers are currently experimental.
138117
"""
139118

140119
activity_type: str
@@ -144,9 +123,6 @@ class ActivitySlotInfo(Protocol):
144123
@runtime_checkable
145124
class LocalActivitySlotInfo(Protocol):
146125
"""Info about a local activity task slot usage.
147-
148-
.. warning::
149-
Custom slot suppliers are currently experimental.
150126
"""
151127

152128
activity_type: str
@@ -156,9 +132,6 @@ class LocalActivitySlotInfo(Protocol):
156132
@runtime_checkable
157133
class NexusSlotInfo(Protocol):
158134
"""Info about a nexus task slot usage.
159-
160-
.. warning::
161-
Custom slot suppliers are currently experimental.
162135
"""
163136

164137
service: str
@@ -174,9 +147,6 @@ class NexusSlotInfo(Protocol):
174147
@dataclass(frozen=True)
175148
class SlotMarkUsedContext(Protocol):
176149
"""Context for marking a slot used from a :py:class:`CustomSlotSupplier`.
177-
178-
.. warning::
179-
Custom slot suppliers are currently experimental.
180150
"""
181151

182152
slot_info: SlotInfo
@@ -189,9 +159,6 @@ class SlotMarkUsedContext(Protocol):
189159
@dataclass(frozen=True)
190160
class SlotReleaseContext:
191161
"""Context for releasing a slot from a :py:class:`CustomSlotSupplier`.
192-
193-
.. warning::
194-
Custom slot suppliers are currently experimental.
195162
"""
196163

197164
slot_info: Optional[SlotInfo]
@@ -202,9 +169,6 @@ class SlotReleaseContext:
202169

203170
class CustomSlotSupplier(ABC):
204171
"""This class can be implemented to provide custom slot supplier behavior.
205-
206-
.. warning::
207-
Custom slot suppliers are currently experimental.
208172
"""
209173

210174
@abstractmethod

temporalio/worker/_worker.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,6 @@ def __init__(
228228
229229
Defaults to fixed-size 100 slots for each slot kind if unset and none of the
230230
max_* arguments are provided.
231-
232-
WARNING: This argument is experimental
233231
max_concurrent_workflow_task_polls: Maximum number of concurrent
234232
poll workflow task requests we will perform at a time on this worker's task queue.
235233
Must be set to at least two if ``max_cached_workflows`` is nonzero.

0 commit comments

Comments
 (0)