Skip to content

Commit fd10067

Browse files
committed
Docstrings, comments
1 parent c539c57 commit fd10067

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

temporalio/client.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5203,6 +5203,7 @@ class StartWorkflowInput:
52035203
rpc_timeout: Optional[timedelta]
52045204
request_eager_start: bool
52055205
priority: temporalio.common.Priority
5206+
# The following options are experimental and unstable.
52065207
nexus_completion_callbacks: Sequence[NexusCompletionCallback]
52075208
workflow_event_links: Sequence[temporalio.api.common.v1.Link.WorkflowEvent]
52085209
request_id: Optional[str]
@@ -7264,7 +7265,11 @@ def api_key(self, value: Optional[str]) -> None:
72647265

72657266
@dataclass(frozen=True)
72667267
class NexusCompletionCallback:
7267-
"""Nexus callback to attach to events such as workflow completion."""
7268+
"""Nexus callback to attach to events such as workflow completion.
7269+
7270+
.. warning::
7271+
This option is experimental and unstable.
7272+
"""
72687273

72697274
url: str
72707275
"""Callback URL."""

temporalio/nexus/_decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ async def _start(
115115
return WorkflowRunOperationHandler(_start, input_type, output_type)
116116

117117
method_name = get_callable_name(start)
118-
# TODO(preview): make double-underscore attrs private to nexusrpc and expose getters/setters
118+
# TODO(nexus-preview): make double-underscore attrs private to nexusrpc and expose getters/setters
119119
operation_handler_factory.__nexus_operation__ = nexusrpc.Operation(
120120
name=name or method_name,
121121
method_name=method_name,

0 commit comments

Comments
 (0)