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 #288

Merged
merged 11 commits into from
Mar 3, 2021

Conversation

iLLiCiTiT
Copy link
Member

@iLLiCiTiT iLLiCiTiT commented Mar 1, 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#1068
🏴 Pype 2.x PR
pype ynput/OpenPype#1072
avalon-core #289
pype-config ynput/pype-config#101

# 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

@iLLiCiTiT iLLiCiTiT self-assigned this Mar 1, 2021
@mkolar mkolar merged commit 3dbb6db into develop Mar 3, 2021
@mkolar mkolar deleted the feature/656-optionally-add-task-to-subset-name branch October 14, 2021 08:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants