Py-obsidianmd — Cannot write to file

What I’m trying to do

I am using the library py-obsidianmd and I have managed to write code to make changes to the metadata in YAML (frontmatter). The code runs and does not fail, but it does NOT write the changes to the markdown files (the notes). I cannot figure out the problem, I need help, PLEASE :folded_hands:

Things I have tried

I have created a bug in GitHub with all the details: