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? 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
Currently, if an object containing the same list or dict object twice is dumped, aliases are created:
yaml = YAML(...) x = [1, 2, 3] y = [x, x] yaml.dump(y, ...)
produces
- &id001 [1, 2, 3] - *id001
It would be nice to have an option to disable this, so the output can be more easily readable, like this instead:
- [1, 2, 3] - [1, 2, 3]
The text was updated successfully, but these errors were encountered:
While this should be possible, it's not as trivial as it seems, since you still need aliases when you dump recursive objects.
Sorry, something went wrong.
No branches or pull requests
Currently, if an object containing the same list or dict object twice is dumped, aliases are created:
produces
It would be nice to have an option to disable this, so the output can be more easily readable, like this instead:
The text was updated successfully, but these errors were encountered: