Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a query param to filter out workflow tasks #919

Merged
merged 1 commit into from
Oct 7, 2024

Commits on Oct 7, 2024

  1. 🔄 synced local 'skyvern/' with remote 'skyvern/'

    <!-- ELLIPSIS_HIDDEN -->
    
    > [!IMPORTANT]
    > Add `only_standalone_tasks` query parameter to filter tasks not part of a workflow run in `get_tasks()` and `get_agent_tasks()`.
    >
    >   - **Behavior**:
    >     - Add `only_standalone_tasks` parameter to `get_tasks()` in `client.py` to filter tasks not part of a workflow run.
    >     - In `agent_protocol.py`, add `only_standalone_tasks` query parameter to `get_agent_tasks()`.
    >     - Raise `HTTPException` if `only_standalone_tasks` and `workflow_run_id` are used together in `get_agent_tasks()`.
    >   - **Misc**:
    >     - Update docstring in `get_tasks()` in `client.py` to include `only_standalone_tasks` parameter.
    >
    > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=Skyvern-AI%2Fskyvern-cloud&utm_source=github&utm_medium=referral)<sup> for ea78ed3f6e3c0609d73848b6020606ac1d742e2a. It will automatically update as commits are pushed.</sup>
    
    <!-- ELLIPSIS_HIDDEN -->
    ykeremy committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    262cc5b View commit details
    Browse the repository at this point in the history