fix step validate error (#523)

Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
Kerem Yilmaz
2024-06-26 16:08:09 -07:00
committed by GitHub
parent 47c1a6f0e8
commit 6fa95dd7d2

View File

@@ -36,7 +36,7 @@ class StepStatus(StrEnum):
return self in status_cant_have_output
def is_terminal(self) -> bool:
status_is_terminal = {StepStatus.failed, StepStatus.completed}
status_is_terminal = {StepStatus.failed, StepStatus.completed, StepStatus.canceled}
return self in status_is_terminal