Revert "refactor loopblock value" (#1380)

This commit is contained in:
Shuchang Zheng
2024-12-12 10:06:06 -08:00
committed by GitHub
parent 0a6a2d8d33
commit f5691d5742
4 changed files with 26 additions and 87 deletions

View File

@@ -110,17 +110,5 @@ class WorkflowParameterMissingRequiredValue(BaseWorkflowHTTPException):
class InvalidWaitBlockTime(SkyvernException):
def __init__(self, max_sec: int) -> None:
def __init__(self, max_sec: int):
super().__init__(f"Invalid wait time for wait block, it should be a number between 0 and {max_sec}.")
class FailedToFormatJinjaStyleParameter(SkyvernException):
def __init__(self, template: str, msg: str) -> None:
super().__init__(
f"Failed to format Jinja style parameter {template}. Please make sure the variable reference is correct. reason: {msg}"
)
class NoIterableValueFound(SkyvernException):
def __init__(self) -> None:
super().__init__("No iterable value found for the loop block")