mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-10 15:35:51 +00:00
Workflow: YAML interface (#123)
This commit is contained in:
parent
cf4749c1d5
commit
0b5456a4c6
8 changed files with 306 additions and 16 deletions
|
@ -21,3 +21,11 @@ class OutputParameterKeyCollisionError(BaseWorkflowException):
|
|||
elif retry_count == 0:
|
||||
message += " Max duplicate retries reached, aborting."
|
||||
super().__init__(message)
|
||||
|
||||
|
||||
class WorkflowDefinitionHasDuplicateParameterKeys(BaseWorkflowException):
|
||||
def __init__(self, duplicate_keys: set[str]) -> None:
|
||||
super().__init__(
|
||||
f"WorkflowDefinition has parameters with duplicate keys. Each parameter needs to have a unique "
|
||||
f"key. Duplicate key(s): {','.join(duplicate_keys)}"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue