mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-09 22:06:19 +00:00
Ykeremy/context parameter source parameters (#200)
This commit is contained in:
parent
02cf2a1e87
commit
4a3e897dad
8 changed files with 159 additions and 27 deletions
|
@ -7,6 +7,7 @@ from pydantic import BaseModel
|
|||
from skyvern.forge.sdk.schemas.tasks import ProxyLocation
|
||||
from skyvern.forge.sdk.workflow.exceptions import WorkflowDefinitionHasDuplicateBlockLabels
|
||||
from skyvern.forge.sdk.workflow.models.block import BlockResult, BlockTypeVar
|
||||
from skyvern.forge.sdk.workflow.models.parameter import PARAMETER_TYPE
|
||||
|
||||
|
||||
class WorkflowRequestBody(BaseModel):
|
||||
|
@ -21,6 +22,7 @@ class RunWorkflowResponse(BaseModel):
|
|||
|
||||
|
||||
class WorkflowDefinition(BaseModel):
|
||||
parameters: list[PARAMETER_TYPE]
|
||||
blocks: List[BlockTypeVar]
|
||||
|
||||
def validate(self) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue