libconfig
0.9.0
API
Site
API reference
Page
libconfig.Config.set_options_from_dict
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.