code: def get_search_method_class(
      method_string: str,
  ) -> Type[BaseDSATSearchMethod]:
      string_to_class_map = {
          "binary": BinarySearchDSATSearchMethod,
          "random": RandomDSATSearchMethod,
          "asha": ASHADSATSearchMethod,
          "_test": _TestDSATSearchMethod,
      }
      if method_string not in string_to_class_map:
          raise ValueError(
              f"`method_string` must be one of {list(string_to_class_map)}, not {method_string}"
          )
      return string_to_class_map[method_string]
  
file_path: determined/harness/determined/pytorch/dsat/_run_dsat.py
imports: import argparse
  import logging
  import os
  import pathlib
  import pickle
  from typing import Any, Dict, Type
  import determined
  from determined import searcher
  from determined.pytorch.dsat import ASHADSATSearchMethod, BaseDSATSearchMethod, BinarySearchDSATSearchMethod, RandomDSATSearchMethod, _defaults, _TestDSATSearchMethod, _utils
  from determined.util import merge_dicts
label_desc: Use image node_id 1 for calling a global function with example usage: get_search_method_class(method_string) and returns: string_to_class_map