mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-14 17:29:40 +00:00
workflow apis (#326)
Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
parent
50026f33c2
commit
72d25cd37d
9 changed files with 364 additions and 19 deletions
|
@ -3,6 +3,7 @@ from typing import Annotated, Any, Literal
|
|||
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
from skyvern.forge.sdk.schemas.tasks import ProxyLocation
|
||||
from skyvern.forge.sdk.workflow.models.block import BlockType
|
||||
from skyvern.forge.sdk.workflow.models.parameter import ParameterType, WorkflowParameterType
|
||||
|
||||
|
@ -187,4 +188,6 @@ class WorkflowDefinitionYAML(BaseModel):
|
|||
class WorkflowCreateYAMLRequest(BaseModel):
|
||||
title: str
|
||||
description: str | None = None
|
||||
proxy_location: ProxyLocation | None = None
|
||||
webhook_callback_url: str | None = None
|
||||
workflow_definition: WorkflowDefinitionYAML
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue