Warning
This documentation is for an old version of IPython. You can find docs for newer versions here.
Module: config.manager¶
Manager to read and modify config data in JSON files.
1 Class¶
-
class
IPython.config.manager.BaseJSONConfigManager(**kwargs)¶ Bases:
IPython.config.configurable.LoggingConfigurableGeneral config manager
Deals with persisting/storing config in a json file in IPython profile
-
get(section_name)¶ Retrieve the config data for the specified section.
Returns the data as a dictionary, or an empty dictionary if the file doesn’t exist.
-
set(section_name, data)¶ Store the given config data.
-
update(section_name, new_data)¶ Modify the config section by recursively updating it with new_data.
Returns the modified config data as a dictionary.
-
