code: def to_hydra_overrides(path_overrides):
      from hydra.core.override_parser.overrides_parser import (
          OverridesParser,
      )
  
      parser = OverridesParser.create()
      return parser.parse_overrides(overrides=path_overrides)
  
file_path: dvc/dvc/utils/hydra.py
imports: from pathlib import Path
  from typing import TYPE_CHECKING, List, Optional
  from dvc.exceptions import InvalidArgumentError
  from dvc.log import logger
  from .collections import merge_dicts, remove_missing_keys, to_omegaconf
label_desc: Use image node_id 3 for calling a global function with example usage: to_hydra_overrides(path_overrides) and returns: parser