How to fix yaml.parser.ParserError: expected '<document start>' in Python | DevErrors