from_dict#

classmethod Config.from_dict(d, path=None, **kwargs)#

Create a config object from a dictionary.

Parameters
  • d (Dict[str, Any]) – A dictionary describing the config file.

  • path (Optional[Path]) – The path to the config file, if known.

  • **kwargs – Overrides values in the resulting config object.

Returns

The config object.

Return type

Config