liara.yaml¶
Module Contents¶
Functions¶
API¶
- liara.yaml.load_yaml(s: bytes | IO | IO[bytes] | str | IO[str])¶
Load a Yaml document.
This is a helper function which tries to use the fast
CLoaderimplementation and falls back to the native Python version on failure.
- liara.yaml.dump_yaml(data, stream: IO | None = None)¶
Dump an object to Yaml.
This is a helper function which tries to use the fast
CDumperimplementation and falls back to the native Python version on failure.