mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
client/#75 - fixed precedence of selection
instance data should have precedence
This commit is contained in:
parent
311bad31b2
commit
8ebbcca71f
1 changed files with 9 additions and 7 deletions
|
|
@ -50,13 +50,15 @@ class IntegrateSlackAPI(pyblish.api.InstancePlugin):
|
|||
fill_data = copy.deepcopy(instance.context.data["anatomyData"])
|
||||
|
||||
fill_pairs = (
|
||||
("asset", fill_data["asset"]),
|
||||
("subset", fill_data.get("subset", instance.data["subset"])),
|
||||
("task", fill_data.get("task")),
|
||||
("username", fill_data.get("username")),
|
||||
("app", fill_data.get("app")),
|
||||
("family", fill_data.get("family", instance.data["family"])),
|
||||
("version", str(fill_data.get("version"))),
|
||||
("asset", instance.data.get("asset", fill_data.get("asset"))),
|
||||
("subset", instance.data.get("subset", fill_data.get("subset"))),
|
||||
("task", instance.data.get("task", fill_data.get("task"))),
|
||||
("username", instance.data.get("username",
|
||||
fill_data.get("username"))),
|
||||
("app", instance.data.get("app", fill_data.get("app"))),
|
||||
("family", instance.data.get("family", fill_data.get("family"))),
|
||||
("version", str(instance.data.get("version",
|
||||
fill_data.get("version"))))
|
||||
)
|
||||
|
||||
multiple_case_variants = prepare_template_data(fill_pairs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue