fix step validate error (#523)
Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
@@ -36,7 +36,7 @@ class StepStatus(StrEnum):
|
|||||||
return self in status_cant_have_output
|
return self in status_cant_have_output
|
||||||
|
|
||||||
def is_terminal(self) -> bool:
|
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
|
return self in status_is_terminal
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user