Mercurial > hgrepos > Python > libs > ConfigMix
diff CHANGES.txt @ 172:8138d56d7cd3
".load" and ".safe_load" get a keyword parameter "defaults" that allows the provision of a configuration dictionary with default settings
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Fri, 26 Apr 2019 14:30:52 +0200 |
| parents | 1ff11462a5c1 |
| children | 3c0ff52b2bdb |
line wrap: on
line diff
--- a/CHANGES.txt Thu Apr 25 17:00:09 2019 +0200 +++ b/CHANGES.txt Fri Apr 26 14:30:52 2019 +0200 @@ -20,11 +20,19 @@ :tags: breaking, feature The associations from filename extensions to parsers are - :py:mod:`fnmatch` style patterns now. + :py:mod:`fnmatch` style patterns now. Calling :py:func:`configmix.set_loader` prepends to the currently defined associations and therefore gets the highest priority. + .. change:: + :tags: feature + + :py:func:`configmix.load` and :py:func:`configmix.safe_load` got a + keyword argument `defaults` that allow the provision of an already + existing default configuration wheter all additional configuration + settings are merged into. + .. changelog:: :version: 0.6
