Skip to content

Commit 9bb8ef7

Browse files
committed
Add sub-orchestration documentation
1 parent a17025d commit 9bb8ef7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Orchestrations can schedule durable timers using the `create_timer` API. These t
2020

2121
### Sub-orchestrations
2222

23-
Orchestrations can start child orchestrations using the `call_sub_orchestrator` API. Child orchestrations are useful for encapsulating complex logic and for breaking up large orchestrations into smaller, more manageable pieces.
23+
Orchestrations can start child orchestrations using the `call_sub_orchestrator` API. Child orchestrations are useful for encapsulating complex logic and for breaking up large orchestrations into smaller, more manageable pieces. Sub-orchestrations can also be versioned in a similar manner to their parent orchestrations, however, they do not inherit the parent's version. Instead, they will use the default_version defined in the current worker's VersioningOptions unless otherwise specified during `call_sub_orchestrator`.
2424

2525
### External events
2626

durabletask/worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def __init__(self, version: Optional[str] = None,
111111
112112
Args:
113113
version: The version of orchestrations that the worker can work on.
114-
default_version: The default version that will be used for starting new orchestrations.
114+
default_version: The default version that will be used for starting new sub-orchestrations.
115115
match_strategy: The versioning strategy for the Durable Task worker.
116116
failure_strategy: The versioning failure strategy for the Durable Task worker.
117117
"""

0 commit comments

Comments
 (0)