madgui.core.config module¶
Config serialization utilities.
Functions
|
Read config file and recursively merge it with a base config file. |
Classes
|
Wrapper class for a config section (dict-like structure in YAML) that supports attribute access to config entries, and allows to subscribe for updates. |
-
class
madgui.core.config.ConfigSection(value, parent=None, name='')[source]¶ Bases:
objectWrapper class for a config section (dict-like structure in YAML) that supports attribute access to config entries, and allows to subscribe for updates.
The
changedsignal is is emitted whenever a property in this section changes (not in subsections).Attribute access is overloaded to return subsections as
ConfigSectionand scalar entries as plain values.Attributes
Signal<>
Methods
get(name[, default])-
changed¶ Signal<>
-