- openfe.update_max_tries(task_db: TaskStatusDB, max_tries: int)#
Update the “max_tries” column to max_tries. Only rows that do _not_ have status=COMPLETED will be operated on.
Warning
Task-based execution is an experimental feature and subject to change in future releases of openfe
- Parameters:
task_db (openfe.TaskStatusDB) – The TaskStatusDB to update
max_tries (int) – The positive integer value to assign as
max_triesfor the updated columns.
- Raises:
ValueError – If max_tries is not a positive integer.: