liara.yaml¶
Module Contents¶
Functions¶
API¶
- liara.yaml.load_yaml(s: Union[bytes, IO, IO[bytes], Text, IO[Text]])¶
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: Optional[IO] = 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.