mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
skip filled template without result
This commit is contained in:
parent
55b2e990e9
commit
45e4244b84
1 changed files with 2 additions and 1 deletions
|
|
@ -114,7 +114,8 @@ def _fill_schema_template_data(
|
|||
output_item = _fill_schema_template_data(
|
||||
item, template_data, _skip_paths, required_keys, missing_keys
|
||||
)
|
||||
output.append(output_item)
|
||||
if output_item:
|
||||
output.append(output_item)
|
||||
|
||||
elif isinstance(template, dict):
|
||||
output = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue