materials_compendium.parse.Root.from_dict

static Root.from_dict(obj)[source]

Create a Root object from a dictionary representation.

Parameters:

obj (dict) – A dictionary containing attributes of the Root.

Returns:

A new Root object with attributes initialized using the values from the dictionary.

Return type:

Root