diff --git a/README.md b/README.md index 58cdeb055..1f991c908 100644 --- a/README.md +++ b/README.md @@ -1676,8 +1676,8 @@ worker = Worker( ### Workflow Replay Given a workflow's history, it can be replayed locally to check for things like non-determinism errors. For example, -assuming `history_str` is populated with a JSON string history either exported from the web UI or from `tctl`, the -following function will replay it: +assuming `history_str` is populated with a JSON string history either exported from the web UI or from the +`Temporal CLI`, the following function will replay it: ```python from temporalio.client import WorkflowHistory diff --git a/temporalio/client.py b/temporalio/client.py index 6c26d41ef..85958f8d8 100644 --- a/temporalio/client.py +++ b/temporalio/client.py @@ -3355,7 +3355,7 @@ def from_json( ) -> WorkflowHistory: """Construct a WorkflowHistory from an ID and a json dump of history. - This is built to work both with Temporal UI/tctl JSON as well as + This is built to work both with Temporal UI/CLI JSON as well as :py:meth:`to_json` even though they are slightly different. Args: diff --git a/temporalio/worker/_replayer.py b/temporalio/worker/_replayer.py index 72ffa4b56..04a32be17 100644 --- a/temporalio/worker/_replayer.py +++ b/temporalio/worker/_replayer.py @@ -112,7 +112,7 @@ async def replay_workflow( Args: history: The history to replay. Can be fetched directly, or use :py:meth:`temporalio.client.WorkflowHistory.from_json` to parse - a history downloaded via ``tctl`` or the web UI. + a history downloaded via ``Temporal CLI`` or the web UI. raise_on_replay_failure: If ``True`` (the default), this will raise a :py:attr:`WorkflowReplayResult.replay_failure` if it is present.