mdp_playground.config_processor.config_processor.deepmerge

mdp_playground.config_processor.config_processor.deepmerge(a, b, path=None, overwrite=True)[source]

Merges dict b into dict a

overwritebool

Overwrites value in a with value in b if True with a warning, else raises Exception

Based on: https://stackoverflow.com/questions/7204805/how-to-merge-dictionaries-of-dictionaries/7205107#7205107