Page MenuHomeDevCentral

Load safely YAML in Python
ClosedPublic

Authored by dereckson on Dec 16 2019, 09:54.
Tags
None
Referenced Files
F3797468: D2114.diff
Thu, Nov 28, 11:37
Unknown Object (File)
Fri, Nov 22, 23:06
Unknown Object (File)
Fri, Nov 22, 04:22
Unknown Object (File)
Mon, Nov 18, 16:09
Unknown Object (File)
Sat, Nov 16, 07:12
Unknown Object (File)
Sat, Nov 16, 07:12
Unknown Object (File)
Fri, Nov 15, 22:10
Unknown Object (File)
Fri, Nov 15, 19:15
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.