API Reference¶
Library for validating yaml
files against schema
and selectively dumping nodes from yaml
(or json
) documents in yaml
or json
format.
Functions:
|
Load the contents of the given YAML file and output in the desired format. |
|
Validate the given datafiles using a schema. |
-
dump
(datafile, path='$', format='yaml', yaml_options='{explicit_start: True, explicit_end: True, allow_unicode: True}', json_options='{indent: 2, encoding: utf-8}', encoding='utf-8')[source]¶ Load the contents of the given YAML file and output in the desired format.