Page MenuHomeDevCentral

Load safely YAML in Python
ClosedPublic

Authored by dereckson on Dec 16 2019, 09:54.
Tags
None
Referenced Files
F54492226: D2114.id5333.diff
Mon, Oct 19, 21:08
F54475757: D2114.diff
Mon, Oct 19, 14:37
F54471366: D2114.id5333.diff
Mon, Oct 19, 12:50
F54469036: D2114.id.diff
Mon, Oct 19, 11:53
F54468354: D2114.id5334.diff
Mon, Oct 19, 11:39
F54444384: D2114.diff
Mon, Oct 19, 05:03
Unknown Object (File)
Sun, Oct 18, 05:53
Unknown Object (File)
Thu, Oct 15, 17:26
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 Errors
SeverityLocationCodeMessage
Errorutils/dump-py-state.py:64E501flake8 E501
Unit
No Test Coverage
Branch
fix-load
Build Status
Buildable 3294
Build 3543: arc lint + arc unit

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.