mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
wrappers without children return empty dict
This commit is contained in:
parent
45e4244b84
commit
7c4a156cec
1 changed files with 2 additions and 0 deletions
|
|
@ -123,6 +123,8 @@ def _fill_schema_template_data(
|
|||
output[key] = _fill_schema_template_data(
|
||||
value, template_data, skip_paths, required_keys, missing_keys
|
||||
)
|
||||
if output.get("type") in WRAPPER_TYPES and not output.get("children"):
|
||||
return {}
|
||||
|
||||
elif isinstance(template, STRING_TYPE):
|
||||
# TODO find much better way how to handle filling template data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue