mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
send original skip paths to wrappers
This commit is contained in:
parent
bcff8348d2
commit
55b2e990e9
1 changed files with 7 additions and 1 deletions
|
|
@ -96,7 +96,13 @@ def _fill_schema_template_data(
|
|||
for item in template:
|
||||
# Get skip paths for children item
|
||||
_skip_paths = []
|
||||
if skip_paths_by_first_key and isinstance(item, dict):
|
||||
if not isinstance(item, dict):
|
||||
pass
|
||||
|
||||
elif item.get("type") in WRAPPER_TYPES:
|
||||
_skip_paths = copy.deepcopy(skip_paths)
|
||||
|
||||
elif skip_paths_by_first_key:
|
||||
# Check if this item should be skipped
|
||||
key = item.get("key")
|
||||
if key and key in skip_paths_by_first_key:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue