How can I maintain formatting while updating a yaml file using ruamel?
How can I maintain formatting while updating a yaml file using ruamel? Question: I have a multi-document YAML file. I am interested in modifying the third document only (this modification will be later made using other code and conditions). After some research, I selected ruamel since it was reported to preserve order and format. My …