Is there any option to influence how lists are merged in OmegaConf. Ideally, this could be controlled in the config file, but if there is come switch I can use in the code I'm also interested.
Example:
from omegaconf import OmegaConf
conf1 = OmegaConf.create({"list": [1, 2]})
conf2 = OmegaConf.create({"list": [3, 4]})
conf = OmegaConf.merge(conf1, conf2)
print(conf.pretty())
Output:
list:
- 3
- 4
I'd like to have an option to merge, not override lists (that is, have [1, 2, 3, 4]
as a result)