-
Notifications
You must be signed in to change notification settings - Fork 51
🏛️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
🏛️Product base types: add support to loaders #1301
Conversation
There was a problem hiding this 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.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…pes-support-in-loading' into enhancement/1294-product-base-types-support-in-loading
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
…roduct-base-types-support-in-loading
and not plugin_product_filter | ||
and not cls.extensions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and not plugin_product_filter | |
and not cls.extensions | |
or not plugin_product_filter | |
or not cls.extensions |
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 #1315Testing notes:
For testing and more information, follow description here: #1297