mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Add folderpaths for template profile filtering
This commit is contained in:
parent
3fcb4949f2
commit
2375dda43b
1 changed files with 8 additions and 4 deletions
|
|
@ -832,14 +832,18 @@ class AbstractTemplateBuilder(ABC):
|
||||||
host_name = self.host_name
|
host_name = self.host_name
|
||||||
task_name = self.current_task_name
|
task_name = self.current_task_name
|
||||||
task_type = self.current_task_type
|
task_type = self.current_task_type
|
||||||
|
folder_path = self.current_folder_path
|
||||||
|
|
||||||
build_profiles = self._get_build_profiles()
|
build_profiles = self._get_build_profiles()
|
||||||
|
filter_data = {
|
||||||
|
"task_types": task_type,
|
||||||
|
"task_names": task_name,
|
||||||
|
"folder_paths": folder_path
|
||||||
|
}
|
||||||
profile = filter_profiles(
|
profile = filter_profiles(
|
||||||
build_profiles,
|
build_profiles,
|
||||||
{
|
filter_data,
|
||||||
"task_types": task_type,
|
logger=self.log
|
||||||
"task_names": task_name
|
|
||||||
}
|
|
||||||
)
|
)
|
||||||
if not profile:
|
if not profile:
|
||||||
raise TemplateProfileNotFound((
|
raise TemplateProfileNotFound((
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue