-
Notifications
You must be signed in to change notification settings - Fork 537
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔄 synced local 'skyvern/' with remote 'skyvern/'
<!-- ELLIPSIS_HIDDEN --> | 🚀 | This description was created by [Ellipsis](https://www.ellipsis.dev) for commit 97fb52dc2ee75066376dcde77fd269edce2921e6 | |--------|--------| ### Summary: Implemented endpoints to fetch workflow runs by `workflow_id`, `organization_id`, and `workflow_permanent_id` with pagination. **Key points**: - Added `get_workflow_runs_by_workflow_id` method in `skyvern/forge/sdk/db/client.py` to fetch workflow runs by `workflow_id` and `organization_id` with pagination. - Added `get_workflow_runs` method in `skyvern/forge/sdk/db/client.py` to fetch workflow runs by `organization_id` with pagination. - Added `get_workflow_runs_for_workflow_permanent_id` method in `skyvern/forge/sdk/db/client.py` to fetch workflow runs by `workflow_permanent_id` and `organization_id` with pagination. - Introduced `get_workflow_runs_by_workflow_id` method in `skyvern/forge/sdk/workflow/service.py` to call the database method for fetching workflow runs by `workflow_id` and `organization_id`. - Introduced `get_workflow_runs` method in `skyvern/forge/sdk/workflow/service.py` to call the database method for fetching workflow runs by `organization_id`. - Introduced `get_workflow_runs_for_workflow_permanent_id` method in `skyvern/forge/sdk/workflow/service.py` to call the database method for fetching workflow runs by `workflow_permanent_id` and `organization_id`. - Created `get_workflow_runs` endpoint in `skyvern/forge/sdk/routes/agent_protocol.py` to expose the functionality via API. - Created `get_workflow_runs_for_workflow_permanent_id` endpoint in `skyvern/forge/sdk/routes/agent_protocol.py` to expose the functionality via API. ---- Generated with ❤️ by [ellipsis.dev](https://www.ellipsis.dev) <!-- ELLIPSIS_HIDDEN -->
- Loading branch information
Showing
3 changed files
with
92 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters