Skip to content

Use ruamel.yaml for roundtrip editing for YAML files

Created by: SunilMohanAdapa

We are currently using python3-yaml for reading YAML files and writing them in a custom way (at least in xmpp module). Instead using ruamel.yaml library to read and write YAML files so that comments, mapping item order etc. are preserved.