Asset Pipeline v2 #145

Closed
Nick Alberelli wants to merge 431 commits from (deleted):feature/asset-pipeline-v2 into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit e9c8523ca6 - Show all commits

View File

@ -146,10 +146,12 @@ def get_name_with_task_layer_prefix(name: str, td_type_key: str) -> str:
Returns:
str: Returns name with prefix
"""
prefix = get_default_task_layer(td_type_key)
default_task_layer = get_default_task_layer(td_type_key)
for task_layer_key in config.TASK_LAYER_TYPES:
if name.startswith(task_layer_key + "."):
if name.startswith(config.TASK_LAYER_TYPES[task_layer_key] + "."):
return name
prefix = config.TASK_LAYER_TYPES[default_task_layer]
return prefix + "." + name