orator icon indicating copy to clipboard operation
orator copied to clipboard

Fix deprecation warning when working with commands

Open zeerayne opened this issue 5 years ago • 3 comments
trafficstars

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.

zeerayne avatar Feb 05 '20 08:02 zeerayne

Should probably be yaml.safe_load() ?

old-adapdr avatar Mar 23 '20 09:03 old-adapdr

Common guys. Is it so complicated to apply this only line? config = yaml.load(fd, Loader=yaml.SafeLoader)

MikeLP avatar Jun 09 '20 05:06 MikeLP

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

old-adapdr avatar Jun 09 '20 07:06 old-adapdr