8000 🏛️Product base types: add support to loaders by antirotor · Pull Request #1301 · ynput/ayon-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

🏛️Product base types: add support to loaders #1301

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

antirotor
Copy link
Member
@antirotor antirotor commented May 30, 2025

Changelog Description

Add support for product base type to loader plugins. Loaders can define compatibility with specific product base types.

Additional info

This shouldn't change any existing functionality until implemented in individual loaders.

Note

Requires: ynput/ayon-python-api#255
Requires: ynput/ayon-backend#615
Closes: #1294

Warning

For loading using product base types, you need to publish something using product base type first. Because #1296 isn't implemented yet, you need to do it using REST API (do it directly and not via publisher). It is implemented by #1315

Testing notes:

For testing and more information, follow description here: #1297

@antirotor antirotor requested review from iLLiCiTiT and Copilot May 30, 2025 14:36
@antirotor antirotor self-assigned this May 30, 2025
@antirotor antirotor added the type: enhancement Improvement of existing functionality or minor addition label May 30, 2025
@antirotor antirotor linked an issue May 30, 2025 that may be closed by this pull request
2 tasks
@antirotor antirotor added the sponsored This is directly sponsored by a client or community member label May 30, 2025
@ynbot ynbot added the size/XS label May 30, 2025
Copy link
Contributor
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for handling product base types in loader plugins, allowing loader plugins to declare compatibility with specific product base types.

  • Added a new attribute "product_base_types" to loader plugins.
  • Updated the compatibility-check logic to consider both product types and product base types.

@antirotor antirotor marked this pull request as ready for review June 10, 2025 09:45
@ynbot ynbot moved this to Review In Progress in PR reviewing Jun 13, 2025
antirotor and others added 3 commits June 13, 2025 16:41
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
@antirotor antirotor requested a review from iLLiCiTiT June 19, 2025 08:16
@github-project-automation github-project-automation bot moved this from Review In Progress to Merge Requested in PR reviewing Jun 19, 2025
@ynbot ynbot moved this from Merge Requested to Review In Progress in PR reviewing Jun 19, 2025
antirotor and others added 4 commits June 19, 2025 16:54
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
@antirotor antirotor requested a review from iLLiCiTiT June 23, 2025 15:00
Comment on lines 145 to 146
and not plugin_product_filter
and not cls.extensions
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
and not plugin_product_filter
and not cls.extensions
or not plugin_product_filter
or not cls.extensions

@iLLiCiTiT iLLiCiTiT merged commit b2ab8ef into develop Jun 24, 2025
2 checks passed
@iLLiCiTiT iLLiCiTiT deleted the enhancement/1294-product-base-types-support-in-loading branch June 24, 2025 09:49
@github-project-automation github-project-automation bot moved this from Review In Progress to Done in PR reviewing Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS sponsored This is directly sponsored by a client or community member type: enhancement Improvement of existing functionality or minor addition
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

🏛️Product base types: Support in loading
3 participants
0