Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Optionally add task to subset name #289

Merged

Conversation

iLLiCiTiT
Copy link
Member

@iLLiCiTiT iLLiCiTiT commented Mar 2, 2021

Changes

  • subset template for creator api is defined by Creator class with class method get_subset_name
    • the method by default returns what was hardcoded in Creator tool
  • modified how duplicated subset names are checked and already existing subset values are prepared
🏴 this depends on
pype ynput/OpenPype#1072
pype-config ynput/pype-config#101
🏴 Pype 3.x PR
pype ynput/OpenPype#1068
avalon-core #288

@iLLiCiTiT iLLiCiTiT added 2x-dev 2x/develop branch enhancement New feature or request labels Mar 2, 2021
# Check if Creator plugin has set defaults
if (
plugin.defaults
and isinstance(plugin.defaults, (list, tuple, set))
Copy link

Choose a reason for hiding this comment

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

line break before binary operator

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2x-dev 2x/develop branch enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants