yaml
Module to interact with yaml strings.
This module contains functions to convert dicts to yaml strings and yaml strings to dicts.
Typical usage example:
```python
dictionary = {
"test": 1
}
yaml_string = (
dump_yaml(
dictionary
)
)
```
dump_yaml ¶
Dump dictionary as yaml.
Parameters:
-
dictionary
(Dict
) –Dictionary to dump.
Returns:
-
str
–String containing yaml with dictionary content.