mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Added task_types to ExtractReview profile
This commit is contained in:
parent
b87dbabd14
commit
ff92960be6
1 changed files with 6 additions and 0 deletions
|
|
@ -203,15 +203,21 @@ class ExtractReview(pyblish.api.InstancePlugin):
|
|||
def _get_outputs_for_instance(self, instance):
|
||||
host_name = instance.context.data["hostName"]
|
||||
product_type = instance.data["productType"]
|
||||
task_type = None
|
||||
task_entity = instance.data.get("taskEntity")
|
||||
if task_entity:
|
||||
task_type = task_entity["taskType"]
|
||||
|
||||
self.log.debug("Host: \"{}\"".format(host_name))
|
||||
self.log.debug("Product type: \"{}\"".format(product_type))
|
||||
self.log.debug("Task type: \"{}\"".format(task_type))
|
||||
|
||||
profile = filter_profiles(
|
||||
self.profiles,
|
||||
{
|
||||
"hosts": host_name,
|
||||
"product_types": product_type,
|
||||
"task_types": task_type
|
||||
},
|
||||
logger=self.log)
|
||||
if not profile:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue