add timed_out to allowed_transitions list (#338)
This commit is contained in:
@@ -106,6 +106,7 @@ class TaskStatus(StrEnum):
|
|||||||
TaskStatus.failed: set(),
|
TaskStatus.failed: set(),
|
||||||
TaskStatus.terminated: set(),
|
TaskStatus.terminated: set(),
|
||||||
TaskStatus.completed: set(),
|
TaskStatus.completed: set(),
|
||||||
|
TaskStatus.timed_out: set(),
|
||||||
}
|
}
|
||||||
return new_status in allowed_transitions[self]
|
return new_status in allowed_transitions[self]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user