_ConfigBase.from_dict

Contents

_ConfigBase.from_dict#

classmethod _ConfigBase.from_dict(dict_: dict[str, Any]) Self[source]#

Create an instance from a dictionary of attribute values.

Parameters:
dict_dict

Mapping of public attribute name to value, as produced by to_dict(). Nested config objects are recursively reconstructed via their own from_dict.

Returns:
Self

New instance of cls populated from dict_.