mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
schema item does not have key children but name, schema type can represent only one schema name
This commit is contained in:
parent
4284d3094a
commit
98569e4fed
1 changed files with 5 additions and 6 deletions
|
|
@ -69,12 +69,11 @@ def _fill_inner_schemas(schema_data, schema_collection):
|
|||
new_children.append(new_child)
|
||||
continue
|
||||
|
||||
for schema_name in child["children"]:
|
||||
new_child = _fill_inner_schemas(
|
||||
schema_collection[schema_name],
|
||||
schema_collection
|
||||
)
|
||||
new_children.append(new_child)
|
||||
new_child = _fill_inner_schemas(
|
||||
schema_collection[child["name"]],
|
||||
schema_collection
|
||||
)
|
||||
new_children.append(new_child)
|
||||
|
||||
schema_data["children"] = new_children
|
||||
return schema_data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue