HomeDevCentral

Load safely YAML in Python

Description

Load safely YAML in Python

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

Reviewers: dereckson

Reviewed By: dereckson

Differential Revision: https://devcentral.nasqueron.org/D2114

Details

Provenance
derecksonAuthored on Dec 16 2019, 09:45
derecksonPushed on Dec 16 2019, 09:55
Reviewer
dereckson
Differential Revision
D2114: Load safely YAML in Python
Parents
rOPSd290acdc0254: Provision new devserver WindRiver
Branches
Unknown
Tags
Unknown