gilbert.plugins.yaml module
Provides a general YAML file loader.
-
gilbert.plugins.yaml.
load_yaml
(path: pathlib.Path) → Tuple[Union[None, ByteString, str], Dict[KT, VT]]
Loads a YAML file.
Reads the first “document” (up to the ‘—’ line) as meta, and treats the remainder of the file as content.