We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
$ cat 1.py from omegaconf import OmegaConf cfg1 = OmegaConf.create({"a" : 1, "b" : "???"}) cfg2 = OmegaConf.create({"a" : "???", "b" : 2}) print(OmegaConf.merge(cfg1, cfg2)) omry@Coronadev:~/dev/omegaconf$ python 1.py {'a': '???', 'b': 2}
Desired behavior is for missing fields being merged onto non-missing fields to not change them. Desired output:
{'a': 1, 'b': 2}
The text was updated successfully, but these errors were encountered:
cc @odelalleau
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Desired behavior is for missing fields being merged onto non-missing fields to not change them.
Desired output:
The text was updated successfully, but these errors were encountered: