Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Conversation

@zeerayne
Copy link

@zeerayne zeerayne commented Feb 5, 2020

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.

@ghost
Copy link

ghost commented Mar 23, 2020

Should probably be yaml.safe_load() ?

@MikeLP
Copy link

MikeLP commented Jun 9, 2020

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

@ghost
Copy link

ghost commented Jun 9, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants