PyYAML version 6.0 changed the load() function to require a second argument, a Loader. There are several different loaders, some of them having serious security implications. So to force devs to consciously make a choice of loader, they changed the signature of the load function.
Alternatively the safe_load function can be used, which is what I did.
PyYAML version 6.0 changed the
load()
function to require a second argument, a Loader. There are several different loaders, some of them having serious security implications. So to force devs to consciously make a choice of loader, they changed the signature of theload
function. Alternatively thesafe_load
function can be used, which is what I did.