API Documentation

Docstring for yml

exception tendril.utils.files.yml.YamlReaderError[source]

Bases: Exception

tendril.utils.files.yml.data_merge(a, b)[source]

From https://github.com/ImmobilienScout24/yamlreader/blob/master/src/main/python/yamlreader/yamlreader.py merges b into a and return merged result based on http://stackoverflow.com/questions/7204805/python-dictionaries-of-dictionaries-merge and extended to also merge arrays and to replace the content of keys with the same name.

NOTE: tuples and arbitrary objects are not handled as it is totally ambiguous what should happen

tendril.utils.files.yml.load_yamls(filepaths)[source]
tendril.utils.files.yml.load(f, method='merge')[source]
tendril.utils.files.yml.dump(data, f=None, **kwargs)[source]