diff --git a/cylc/flow/xtriggers/wall_clock.py b/cylc/flow/xtriggers/wall_clock.py index a159ec3019f..f000319d1ff 100644 --- a/cylc/flow/xtriggers/wall_clock.py +++ b/cylc/flow/xtriggers/wall_clock.py @@ -38,6 +38,9 @@ def wall_clock(offset: str = 'PT0S', sequential: bool = True): Wall-clock xtriggers are run sequentially by default. See :ref:`Sequential Xtriggers` for more details. + .. versionchanged:: 8.3.0 + + The ``sequential`` argument was added. """ # NOTE: This is just a placeholder for the actual implementation. # This is only used for validating the signature and for autodocs. diff --git a/cylc/flow/xtriggers/workflow_state.py b/cylc/flow/xtriggers/workflow_state.py index a2b7d2f1946..86a44a49608 100644 --- a/cylc/flow/xtriggers/workflow_state.py +++ b/cylc/flow/xtriggers/workflow_state.py @@ -36,7 +36,7 @@ def workflow_state( If the status or output has been achieved, return {True, result}. - Arg: + Args: workflow_task_id: ID (workflow//point/task:selector) of the target task. offset: @@ -62,6 +62,13 @@ def workflow_state( Dict of workflow, task, point, offset, status, message, trigger, flow_num, run_dir + .. versionchanged:: 8.3.0 + + The ``workflow_task_id`` argument was introduced to replace the + separate ``workflow``, ``point``, ``task``, ``status``, and ``message`` + arguments (which are still supported for backwards compatibility). + The ``flow_num`` argument was added. The ``cylc_run_dir`` argument + was renamed to ``alt_cylc_run_dir``. """ poller = WorkflowPoller( workflow_task_id,