code: def _warn_on_repeater(searcher, total_samples):
      from ray.tune.search.repeater import _warn_num_samples
  
      _warn_num_samples(searcher, total_samples)
  
imports: import copy
  import logging
  from typing import Dict, List, Optional, Union
  from ray.tune.error import TuneError
  from ray.tune.experiment import Experiment, _convert_to_experiment_list
  from ray.tune.experiment.config_parser import _make_parser, _create_trial_from_spec
  from ray.tune.search.search_algorithm import SearchAlgorithm
  from ray.tune.search import Searcher
  from ray.tune.search.util import _set_search_properties_backwards_compatible
  from ray.tune.search.variant_generator import format_vars, _resolve_nested_dict
  from ray.tune.experiment import Trial
  from ray.tune.utils.util import flatten_dict, merge_dicts, _atomic_save, _load_newest_checkpoint
  from ray.util.annotations import DeveloperAPI
label_desc: Use image node_id 1 for calling a global function with example usage: _warn_on_repeater(searcher, total_samples) without return types