API + SDK support - get workflow run (#2324)
Some checks are pending
Run tests and pre-commit / test (push) Waiting to run
Run tests and pre-commit / fe-lint-build (push) Waiting to run
Publish Fern Docs / run (push) Waiting to run
Sync to skyvern-cloud / sync (push) Waiting to run

This commit is contained in:
Shuchang Zheng 2025-05-11 16:24:31 -07:00 committed by GitHub
parent 2c58e99b55
commit 8f37625f51
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 44 additions and 14 deletions

View file

@ -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)