Skip to content

Versions query: Fix task ids filtering #233

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

Merged

Conversation

iLLiCiTiT
Copy link
Member

Changelog Description

Add missing taskIds filtering to versions graphql query.

Testing notes:

  1. Prepare task id in a project.
  2. Use get_versions with task ids filter to validate it works.
from ayon_api import get_versions

project_name = "..."
task_id = "..."
versions = list(get_versions(project_name, task_ids=[task_id]))

Resolves #231

@iLLiCiTiT iLLiCiTiT added the type: enhancement New feature or request label Mar 6, 2025
@iLLiCiTiT iLLiCiTiT self-assigned this Mar 6, 2025
@iLLiCiTiT iLLiCiTiT requested review from kalisp and antirotor March 6, 2025 10:13
@iLLiCiTiT iLLiCiTiT merged commit e7813ea into develop Mar 12, 2025
2 checks passed
@iLLiCiTiT iLLiCiTiT deleted the bugfix/231-get_version-doesnt-work-with-task_ids-arg branch March 12, 2025 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

get_version() doesn't work with task_ids arg
2 participants