mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-09 13:56:08 +00:00
ExtractAction (#1632)
This commit is contained in:
parent
1c2425171f
commit
b62a6fec23
10 changed files with 150 additions and 25 deletions
|
@ -1693,7 +1693,9 @@ class WorkflowService:
|
|||
|
||||
raise ValueError(f"Invalid block type {block_yaml.block_type}")
|
||||
|
||||
async def create_empty_workflow(self, organization: Organization, title: str) -> Workflow:
|
||||
async def create_empty_workflow(
|
||||
self, organization: Organization, title: str, proxy_location: ProxyLocation | None = None
|
||||
) -> Workflow:
|
||||
"""
|
||||
Create a blank workflow with no blocks
|
||||
"""
|
||||
|
@ -1704,6 +1706,7 @@ class WorkflowService:
|
|||
parameters=[],
|
||||
blocks=[],
|
||||
),
|
||||
proxy_location=proxy_location,
|
||||
)
|
||||
return await app.WORKFLOW_SERVICE.create_workflow_from_request(
|
||||
organization=organization,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue