mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-02 02:30:07 +00:00
add timed_out to allowed_transitions list (#338)
This commit is contained in:
parent
2b4829f87a
commit
a36b65b894
1 changed files with 1 additions and 0 deletions
|
@ -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]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue