mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
add getter method for dynamic schema definitions
This commit is contained in:
parent
cf9114b0f1
commit
fff590f7f8
1 changed files with 3 additions and 0 deletions
|
|
@ -431,6 +431,9 @@ class SchemasHub:
|
|||
self._loaded_schemas = loaded_schemas
|
||||
self._dynamic_schemas_def_by_id = dynamic_schemas_def_by_id
|
||||
|
||||
def get_dynamic_schema_def(self, schema_def_id):
|
||||
return self._dynamic_schemas_def_by_id.get(schema_def_id)
|
||||
|
||||
def _fill_template(self, child_data, template_def):
|
||||
"""Fill template based on schema definition and template definition.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue