mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
load skip_paths from template definition
This commit is contained in:
parent
1cdbd39be1
commit
6798b05546
1 changed files with 4 additions and 0 deletions
|
|
@ -128,6 +128,10 @@ def _fill_schema_template(child_data, schema_collection, schema_templates):
|
|||
if isinstance(template_data, dict):
|
||||
template_data = [template_data]
|
||||
|
||||
skip_paths = child_data.get("skip_paths") or []
|
||||
if isinstance(skip_paths, STRING_TYPE):
|
||||
skip_paths = [skip_paths]
|
||||
|
||||
output = []
|
||||
for single_template_data in template_data:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue