from_dict()¶
- audobject.from_dict(d, root=None, *, auto_install=False, override_args=None, **kwargs)[source]¶
Create object from dictionary.
- Parameters
d (
Mapping[str,object]) – dictionary representing the objectroot (
Optional[str]) – if dictionary was read from a file, set to source directoryauto_install (
bool) – install missing packages needed to create the objectoverride_args (
Optional[dict[str,object]]) – override arguments indor default values of hidden arguments
- Return type
- Returns
object
- Raises
RuntimeError – if a mandatory argument of the object is missing in the dictionary
d