
In PyYAML 5.1 they changed this default in the library. Because we weren't explicitly setting it, this broke our unit tests. Since default_flow_style=False is usually what you want (hence why PyYAML changed it), let's set it explicitly. Also note that this was already being set for dump, but not for dumps. This is also more consistent. Change-Id: I3f7dfce5ceb5d3b802878c410406994cbb0988b6
Team and repository tags
oslo.serialization
The oslo.serialization library provides support for representing objects in transmittable and storable formats, such as Base64, JSON and MessagePack.
- Free software: Apache license
- Documentation: https://docs.openstack.org/oslo.serialization/latest/
- Source: https://git.openstack.org/cgit/openstack/oslo.serialization
- Bugs: https://bugs.launchpad.net/oslo.serialization
- Release notes: https://docs.openstack.org/releasenotes/oslo.serialization/
Description
Languages
Python
100%