Skip to content

Commit

Permalink
add timed_out to allowed_transitions list (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
wintonzheng committed May 26, 2024
1 parent 2b4829f commit a36b65b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions skyvern/forge/sdk/schemas/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ def can_update_to(self, new_status: TaskStatus) -> bool:
TaskStatus.failed: set(),
TaskStatus.terminated: set(),
TaskStatus.completed: set(),
TaskStatus.timed_out: set(),
}
return new_status in allowed_transitions[self]

Expand Down

0 comments on commit a36b65b

Please sign in to comment.