Skip to content

yaml.safeload() is not reading values correctly. #697

@KiranPaladugu

Description

@KiranPaladugu

When loading the yaml data, yaml.safe_load() returns incorrect data.

data: 
- type: 4
  details:
    name: 0000:03:00.0

yaml.safe_load() returns, the element name value is incorrect

data:
- details:
    name: 180.0
  type: 4

PyYaml version 6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions