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:
object
Wrapper class for a config section (dict-like structure in YAML) that supports attribute access to config entries, and allows to subscribe for updates.
The
changed
signal is is emitted whenever a property in this section changes (not in subsections).Attribute access is overloaded to return subsections as
ConfigSection
and scalar entries as plain values.Attributes
Signal<>
Methods
get
(name[, default])-
changed
¶ Signal<>
-