mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-09 22:06:19 +00:00
support global workflow (#1664)
This commit is contained in:
parent
833cd8194e
commit
1b79ef9ca3
10 changed files with 154 additions and 26 deletions
|
@ -124,3 +124,11 @@ class FailedToFormatJinjaStyleParameter(SkyvernException):
|
|||
class NoIterableValueFound(SkyvernException):
|
||||
def __init__(self) -> None:
|
||||
super().__init__("No iterable value found for the loop block")
|
||||
|
||||
|
||||
class InvalidTemplateWorkflowPermanentId(SkyvernHTTPException):
|
||||
def __init__(self, workflow_permanent_id: str) -> None:
|
||||
super().__init__(
|
||||
message=f"Invalid template workflow permanent id: {workflow_permanent_id}. Please make sure the workflow is a valid template.",
|
||||
status_code=status.HTTP_400_BAD_REQUEST,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue