code: def create_search_path(
      base_list: List[Tuple[str, str]]
  ) -> ConfigSearchPathImpl:
      csp = ConfigSearchPathImpl()
      csp.config_search_path = [
          SearchPathElement(x[0], x[1]) for x in base_list
      ]
      return csp
  
file_path: hydra/tests/test_config_search_path.py
imports: import os
  from os.path import realpath
  from typing import List, Optional, Tuple
  from pytest import mark
  from hydra._internal.config_search_path_impl import ConfigSearchPathImpl
  from hydra._internal.utils import compute_search_path_dir
  from hydra.core.config_search_path import SearchPathElement, SearchPathQuery
label_desc: Use image node_id 1 for calling a global function with example usage: create_search_path(base_list) and returns: csp