You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The YAMLLoader's load(filename) method calls PyYAML's corresponding load() function without an explicit Loader class. This has been deprecated since PyYAML version 5.1 because of potential security issues and produces a warning (see also https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation).
As PyYAML implicitely uses the safe FullLoader implementation if the parameter is omitted, this can be passed to its load() function without changing the behaviour of flask fixtures while still getting rid of the warning.
The text was updated successfully, but these errors were encountered:
kmhsonnenkind
added a commit
to kmhsonnenkind/Flask-Fixtures
that referenced
this issue
Apr 16, 2019
The
YAMLLoader
'sload(filename)
method calls PyYAML's correspondingload()
function without an explicitLoader
class. This has been deprecated since PyYAML version 5.1 because of potential security issues and produces a warning (see also https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation).As PyYAML implicitely uses the safe
FullLoader
implementation if the parameter is omitted, this can be passed to itsload()
function without changing the behaviour of flask fixtures while still getting rid of the warning.The text was updated successfully, but these errors were encountered: