def yaml_from_dict(dictionary, width=80):
    return yaml.safe_dump(dictionary, default_flow_style=False, width=width)
Gets the YAML representation of a dict.
dataset/ETHPy150Open oppia/oppia/utils.py/yaml_from_dict