code: def loads_yaml(s, typ="safe"):
      from ruamel.yaml import YAML
  
      return YAML(typ=typ).load(s)
  
file_path: dvc/dvc/utils/serialize/_yaml.py
imports: import io
  from collections import OrderedDict
  from contextlib import contextmanager
  from typing import Any, TextIO
  from funcy import reraise
  from ._common import ParseError, _dump_data, _load_data, _modify_data
label_desc: Use image node_id 7 for calling a global function with example usage: loads_yaml(s, typ) and returns: YAML