weldx.asdf.util.get_schema_tree#

weldx.asdf.util.get_schema_tree(schemafile, *, drop=None)#

Get a dictionary representation of a weldx schema file with custom formatting.

Parameters:
  • schemafile (str | Path) – Weldx schema file name or Path to parse.

  • drop (Optional[set]) – Set or list-like of additional keys to drop from all nested elements.

Returns:

A reduced dictionary representation of the schema file requirements. The property keys are formatted to reflect the associated Python class. Some keys are dropped or reformatted for readability.

Return type:

dict