vantage6.common.task_status.has_task_failed#

has_task_failed(status)#

Check if task has failed to run to completion

Parameters:

status (TaskStatus | str) – The status of the task

Returns:

True if task has failed, False otherwise

Return type:

bool