code: def on_trial_result(self, trial_id: str, result: Dict):
      self.counter["result"] += 1
      self.results += [result]
  
file_path: ray/python/ray/tune/search/_mock.py
imports: from typing import Dict, List, Optional
  from ray.tune.search import Searcher, ConcurrencyLimiter
  from ray.tune.search.search_generator import SearchGenerator
  from ray.tune.experiment import Trial
label_desc: Use image node_id 3 for calling the _MockSearcher obj's underlying member method code with example usage: obj.on_trial_result(trial_id, result) without return types