Page MenuHomeDevCentral

Load safely YAML in Python
ClosedPublic

Authored by dereckson on Dec 16 2019, 09:54.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 29, 21:41
Unknown Object (File)
Sat, Jun 28, 16:16
Unknown Object (File)
Sat, Jun 28, 08:25
Unknown Object (File)
Fri, Jun 27, 11:33
Unknown Object (File)
Fri, Jun 27, 03:42
Unknown Object (File)
Thu, Jun 26, 13:12
Unknown Object (File)
Thu, Jun 26, 06:33
Unknown Object (File)
Wed, Jun 25, 22:07
Subscribers
None

Details

Summary

Per https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation

All our YAML documents can be loaded with the SafeLoader,
as we don't construct Pickle-style Python objects.

Test Plan

utils/next-uid.py

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Dec 16 2019, 09:55
This revision was landed with ongoing or failed builds.Dec 16 2019, 09:55
This revision was automatically updated to reflect the committed changes.