Skip to content

Commit

Permalink
Transient task proxy comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjoliver committed Dec 14, 2023
1 parent 4dc5a55 commit 50a5b49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions cylc/flow/task_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -1513,12 +1513,11 @@ def spawn_task(
not force and
set.intersection(flow_nums, old_fnums)
):
if not is_complete:
break
if f_wait:
flow_wait_done = f_wait
break
if not is_complete:
break
# Already spawned, or has manually set outputs.
LOG.warning(
f"{point}/{name}/{snum:02d}"
f"{stringify_flow_nums(flow_nums)}"
Expand Down
3 changes: 2 additions & 1 deletion cylc/flow/task_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ class TaskProxy:
True whilst task is awaiting job prep, reset to False once the
preparation has completed.
.transient:
This is a transient proxy used for internal purposes.
This is a transient proxy - not to be added to the task pool, but
used e.g. to spawn children, or to get task-specific infomation.
Args:
tdef: The definition object of this task.
Expand Down

0 comments on commit 50a5b49

Please sign in to comment.