libconfig.Config.set_options_from_dict

Config.set_options_from_dict(data_dict, filename=None)

Load options from a dictionary.

Parameters:
  • data_dict (dict) – Dictionary with the options to load.
  • filename (str) – If provided, assume that non-absolute paths provided are in reference to the file.