mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-14 09:19:40 +00:00
API + SDK support - get workflow run (#2324)
This commit is contained in:
parent
2c58e99b55
commit
8f37625f51
4 changed files with 44 additions and 14 deletions
|
@ -969,7 +969,7 @@ class WorkflowService:
|
|||
async def build_workflow_run_status_response_by_workflow_id(
|
||||
self,
|
||||
workflow_run_id: str,
|
||||
organization_id: str,
|
||||
organization_id: str | None = None,
|
||||
include_cost: bool = False,
|
||||
) -> WorkflowRunResponseBase:
|
||||
workflow_run = await self.get_workflow_run(workflow_run_id=workflow_run_id, organization_id=organization_id)
|
||||
|
@ -988,7 +988,7 @@ class WorkflowService:
|
|||
self,
|
||||
workflow_permanent_id: str,
|
||||
workflow_run_id: str,
|
||||
organization_id: str,
|
||||
organization_id: str | None = None,
|
||||
include_cost: bool = False,
|
||||
) -> WorkflowRunResponseBase:
|
||||
workflow = await self.get_workflow_by_permanent_id(workflow_permanent_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue