ruamel.yaml purports to disallow duplicate keys by default (https://yaml.readthedocs.io/en/latest/api.html#duplicate-keys), however yamlize is somehow side-steps this. The duplicate check is happening in constructor.py in ruamel.yaml. I am trying to figure out how to get that functionality back, but it is unclear where the interface is between ruamel.yaml and yamlize. Perhaps the cause/solution would be more immediately obvious to the author? Any guidance would be most appreciated, thanks!
ruamel.yaml purports to disallow duplicate keys by default (https://yaml.readthedocs.io/en/latest/api.html#duplicate-keys), however yamlize is somehow side-steps this. The duplicate check is happening in
constructor.pyin ruamel.yaml. I am trying to figure out how to get that functionality back, but it is unclear where the interface is between ruamel.yaml and yamlize. Perhaps the cause/solution would be more immediately obvious to the author? Any guidance would be most appreciated, thanks!