set_start_and_last_task_index
set_start_and_last_task_index(num_tasks, first_task_index=None, last_task_index=None)
¶
Handle first_task_index
and last_task_index
, by setting defaults and
validating values.
num_tasks
Total number of tasks in a workflow task list
first_task_index: Positional index of the first task to execute last_task_index: Positional index of the last task to execute
Source code in fractal_server/app/runner/set_start_and_last_task_index.py
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
|