You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this was intended, but if you use load() with a list of config files, the code overwrite the base config keys instead of merging the dictionaries. This fits my workflow where I may have a base configuration, and then have a local override based on the environment I'm working on. This override should be able to override a single setting nested amongst others, without losing other settings.
I ended up loading the two files separately and then writing my own merge function:
Not sure if this was intended, but if you use
load()
with a list of config files, the code overwrite the base config keys instead of merging the dictionaries. This fits my workflow where I may have a base configuration, and then have a local override based on the environment I'm working on. This override should be able to override a single setting nested amongst others, without losing other settings.I ended up loading the two files separately and then writing my own merge function:
Maybe this something like this should be included in
decode.load()
? Maybe as amerged=True
option?The text was updated successfully, but these errors were encountered: