Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
KiranPaladugu opened this issue Feb 8, 2023 · 1 comment
Closed

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

KiranPaladugu opened this issue Feb 8, 2023 · 1 comment
Labels

Comments

@KiranPaladugu
Copy link

KiranPaladugu commented Feb 8, 2023

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

@perlpunk
Copy link
Member

perlpunk commented Feb 8, 2023

duplicate of #68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants