mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-14 17:29:40 +00:00
Rename old router to legacy_base_router (#2048)
Co-authored-by: Suchintan Singh <suchintansingh@gmail.com>
This commit is contained in:
parent
0107054a75
commit
83ad2adabd
15 changed files with 412 additions and 476 deletions
|
@ -3,6 +3,7 @@ from enum import StrEnum
|
|||
from typing import Any, List
|
||||
|
||||
from pydantic import BaseModel, field_validator
|
||||
from typing_extensions import deprecated
|
||||
|
||||
from skyvern.forge.sdk.schemas.files import FileInfo
|
||||
from skyvern.forge.sdk.schemas.task_v2 import TaskV2
|
||||
|
@ -13,6 +14,7 @@ from skyvern.schemas.runs import ProxyLocation
|
|||
from skyvern.utils.url_validators import validate_url
|
||||
|
||||
|
||||
@deprecated("Use WorkflowRunRequest instead")
|
||||
class WorkflowRequestBody(BaseModel):
|
||||
data: dict[str, Any] | None = None
|
||||
proxy_location: ProxyLocation | None = None
|
||||
|
@ -29,6 +31,7 @@ class WorkflowRequestBody(BaseModel):
|
|||
return validate_url(url)
|
||||
|
||||
|
||||
@deprecated("Use WorkflowRunResponse instead")
|
||||
class RunWorkflowResponse(BaseModel):
|
||||
workflow_id: str
|
||||
workflow_run_id: str
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue