Skip to content

Duplicate mapping keys not detected/allow_duplicate_keys not honored #11

@youngmit

Description

@youngmit

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions