Ejemplo n.º 1
0
def to_yaml(input: dict) -> str:
    yaml = YAML()
    yaml.scalarstring.walk_tree(input)
    return yaml.round_trip_dump(input, default_flow_style = False, allow_unicode = True, explicit_start=True)