orator
orator copied to clipboard
Fix deprecation warning when working with commands
When using commands got warning 'YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.'
Added loader as described in doc. Works perfect, no deprecation warnings.
Should probably be yaml.safe_load() ?
Common guys. Is it so complicated to apply this only line?
config = yaml.load(fd, Loader=yaml.SafeLoader)
Common guys. Is it so complicated to apply this only line?
config = yaml.load(fd, Loader=yaml.SafeLoader)
project is frozen atm and is being continued over at masonite orm :) @MikeLP