Skip to content

Commit f7da465

Browse files
Remove experimental notices for Nexus (#1381)
Co-authored-by: tconley1428 <tconley1428@gmail.com>
1 parent 4578c0c commit f7da465

6 files changed

Lines changed: 3 additions & 38 deletions

File tree

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1514,8 +1514,6 @@ code](https://github.com/temporalio/samples-python/blob/main/context_propagation
15141514

15151515
### Nexus
15161516

1517-
⚠️ **Nexus support is currently at an experimental release stage. Backwards-incompatible changes are anticipated until a stable release is announced.** ⚠️
1518-
15191517
[Nexus](https://github.com/nexus-rpc/) is a synchronous RPC protocol. Arbitrary duration operations that can respond
15201518
asynchronously are modeled on top of a set of pre-defined synchronous RPCs.
15211519

temporalio/nexus/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
"""Temporal Nexus support
22
3-
.. warning::
4-
Nexus APIs are experimental and unstable.
5-
63
See https://github.com/temporalio/sdk-python/tree/main#nexus
74
"""
85

temporalio/nexus/_operation_context.py

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@
7676
class Info:
7777
"""Information about the running Nexus operation.
7878
79-
.. warning::
80-
This API is experimental and unstable.
81-
8279
Retrieved inside a Nexus operation handler via :py:func:`info`.
8380
"""
8481

@@ -277,11 +274,7 @@ def _add_outbound_links(
277274

278275

279276
class WorkflowRunOperationContext(StartOperationContext):
280-
"""Context received by a workflow run operation.
281-
282-
.. warning::
283-
This API is experimental and unstable.
284-
"""
277+
"""Context received by a workflow run operation."""
285278

286279
def __init__(self, *args: Any, **kwargs: Any) -> None:
287280
"""Initialize the workflow run operation context."""
@@ -541,11 +534,7 @@ async def start_workflow(
541534

542535
@dataclass(frozen=True)
543536
class NexusCallback:
544-
"""Nexus callback to attach to events such as workflow completion.
545-
546-
.. warning::
547-
This API is experimental and unstable.
548-
"""
537+
"""Nexus callback to attach to events such as workflow completion."""
549538

550539
url: str
551540
"""Callback URL."""

temporalio/nexus/_token.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
class WorkflowHandle(Generic[OutputT]):
1919
"""A handle to a workflow that is backing a Nexus operation.
2020
21-
.. warning::
22-
This API is experimental and unstable.
23-
2421
Do not instantiate this directly. Use
2522
:py:func:`temporalio.nexus.WorkflowRunOperationContext.start_workflow` to create a
2623
handle.

temporalio/worker/_worker.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,6 @@ def __init__(
157157
may be async functions or non-async functions.
158158
nexus_service_handlers: Instances of Nexus service handler classes
159159
decorated with :py:func:`@nexusrpc.handler.service_handler<nexusrpc.handler.service_handler>`.
160-
161-
.. warning::
162-
This parameter is experimental and unstable.
163160
workflows: Workflow classes decorated with
164161
:py:func:`@workflow.defn<temporalio.workflow.defn>`.
165162
activity_executor: Concurrent executor to use for non-async
@@ -182,9 +179,6 @@ def __init__(
182179
nexus_task_executor: Executor to use for non-async
183180
Nexus operations. This is required if any operation start methods
184181
are non-``async def``.
185-
186-
.. warning::
187-
This parameter is experimental and unstable.
188182
workflow_runner: Runner for workflows.
189183
unsandboxed_workflow_runner: Runner for workflows that opt-out of
190184
sandboxing.

temporalio/workflow.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4656,11 +4656,7 @@ async def execute_child_workflow(
46564656

46574657

46584658
class NexusOperationHandle(Generic[OutputT]):
4659-
"""Handle for interacting with a Nexus operation.
4660-
4661-
.. warning::
4662-
This API is experimental and unstable.
4663-
"""
4659+
"""Handle for interacting with a Nexus operation."""
46644660

46654661
# TODO(nexus-preview): should attempts to instantiate directly throw?
46664662

@@ -5444,9 +5440,6 @@ class NexusOperationCancellationType(IntEnum):
54445440
class NexusClient(ABC, Generic[ServiceT]):
54455441
"""A client for invoking Nexus operations.
54465442
5447-
.. warning::
5448-
This API is experimental and unstable.
5449-
54505443
Example::
54515444
54525445
nexus_client = workflow.create_nexus_client(
@@ -5858,9 +5851,6 @@ def create_nexus_client(
58585851
) -> NexusClient[ServiceT]:
58595852
"""Create a Nexus client.
58605853
5861-
.. warning::
5862-
This API is experimental and unstable.
5863-
58645854
Args:
58655855
service: The Nexus service.
58665856
endpoint: The Nexus endpoint.

0 commit comments

Comments
 (0)