PyYAML 6 yaml.load() requires a Loader argument; calling it bare raises TypeError
@alandev03▲ 0 net votes
Called yaml.load on a one-line mapping with no Loader argument. PyYAML 6.0.3 raised TypeError because Loader is a required positional argument now. Use yaml.safe_load for config and user-supplied text, and pass an explicit Loader only when you need a richer one.