Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit77a1502

Browse files
authored
Remove experimental warnings from stable APIs (temporalio#766)
* Remove experimental warnings from stable APIs* poe format* Revert "poe format"This reverts commitd6e2aa2.* use the right version of ruff to format
1 parentacde42c commit77a1502

File tree

4 files changed

+2
-34
lines changed

4 files changed

+2
-34
lines changed

‎temporalio/client.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,6 @@ async def start_workflow(
501501
request_eager_start: Potentially reduce the latency to start this workflow by
502502
encouraging the server to start it on a local worker running with
503503
this same client.
504-
This is currently experimental.
505504
506505
Returns:
507506
A workflow handle to the started workflow.

‎temporalio/runtime.py‎

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
"""Runtime for clients and workers. (experimental)
2-
3-
This module is currently experimental. The API may change.
4-
"""
1+
"""Runtime for clients and workers."""
52

63
from __future__importannotations
74

@@ -128,9 +125,6 @@ class LoggingConfig:
128125
forwarding:Optional[LogForwardingConfig]=None
129126
"""If present, Core logger messages will be forwarded to a Python logger.
130127
See the :py:class:`LogForwardingConfig` docs for more info.
131-
132-
.. warning::
133-
This API is experimental
134128
"""
135129

136130
default:ClassVar[LoggingConfig]
@@ -173,9 +167,6 @@ class LogForwardingConfig:
173167
attribute which has arbitrary extra data from Core. By default a string
174168
representation of this extra ``fields`` attribute is appended to the
175169
message.
176-
177-
.. warning::
178-
This API is experimental
179170
"""
180171

181172
logger:logging.Logger

‎temporalio/worker/_worker.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,7 @@ def __init__(
194194
disable_eager_activity_execution: If true, will disable eager
195195
activity execution. Eager activity execution is an optimization
196196
on some servers that sends activities back to the same worker as
197-
the calling workflow if they can run there. This setting is
198-
experimental and may be removed in a future release.
197+
the calling workflow if they can run there.
199198
on_fatal_error: An async function that can handle a failure before
200199
the worker shutdown commences. This cannot stop the shutdown and
201200
any exception raised is logged and ignored.

‎temporalio/workflow.py‎

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,9 +1100,6 @@ def update(
11001100
argument that can accept more fields later if needed. The handler may return
11011101
a serializable value which will be sent back to the caller of the update.
11021102
1103-
.. warning::
1104-
This API is experimental
1105-
11061103
Args:
11071104
fn: The function to decorate.
11081105
name: Update name. Defaults to method ``__name__``. Cannot be present
@@ -2981,9 +2978,6 @@ def start_local_activity(
29812978
At least one of ``schedule_to_close_timeout`` or ``start_to_close_timeout``
29822979
must be present.
29832980
2984-
.. warning::
2985-
Local activities are currently experimental.
2986-
29872981
Args:
29882982
activity: Activity name or function reference.
29892983
arg: Single argument to the activity.
@@ -3152,9 +3146,6 @@ async def execute_local_activity(
31523146
"""Start a local activity and wait for completion.
31533147
31543148
This is a shortcut for ``await`` :py:meth:`start_local_activity`.
3155-
3156-
.. warning::
3157-
Local activities are currently experimental.
31583149
"""
31593150
# We call the runtime directly instead of top-level start_local_activity to
31603151
# ensure we don't miss new parameters
@@ -3282,9 +3273,6 @@ def start_local_activity_class(
32823273
"""Start a local activity from a callable class.
32833274
32843275
See :py:meth:`start_local_activity` for parameter and return details.
3285-
3286-
.. warning::
3287-
Local activities are currently experimental.
32883276
"""
32893277
return_Runtime.current().workflow_start_local_activity(
32903278
activity,
@@ -3410,9 +3398,6 @@ async def execute_local_activity_class(
34103398
"""Start a local activity from a callable class and wait for completion.
34113399
34123400
This is a shortcut for ``await`` :py:meth:`start_local_activity_class`.
3413-
3414-
.. warning::
3415-
Local activities are currently experimental.
34163401
"""
34173402
# We call the runtime directly instead of top-level start_local_activity to
34183403
# ensure we don't miss new parameters
@@ -3540,9 +3525,6 @@ def start_local_activity_method(
35403525
"""Start a local activity from a method.
35413526
35423527
See :py:meth:`start_local_activity` for parameter and return details.
3543-
3544-
.. warning::
3545-
Local activities are currently experimental.
35463528
"""
35473529
return_Runtime.current().workflow_start_local_activity(
35483530
activity,
@@ -3668,9 +3650,6 @@ async def execute_local_activity_method(
36683650
"""Start a local activity from a method and wait for completion.
36693651
36703652
This is a shortcut for ``await`` :py:meth:`start_local_activity_method`.
3671-
3672-
.. warning::
3673-
Local activities are currently experimental.
36743653
"""
36753654
# We call the runtime directly instead of top-level start_local_activity to
36763655
# ensure we don't miss new parameters

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp