code: def _get_yaml():
      from ruamel.yaml import YAML
  
      yaml = YAML()
      yaml.default_flow_style = False
  
      # tell Dumper to represent OrderedDict as normal dict
      yaml_repr_cls = yaml.Representer
      yaml_repr_cls.add_representer(
          OrderedDict, yaml_repr_cls.represent_dict
      )
      return yaml
  
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 4 for calling a global function with example usage: _get_yaml() and returns: yaml