code: def __init__(
      self,
      search_method: searcher.SearchMethod,
      mock_master_object: MockMaster,
      searcher_dir: Optional[Path] = None,
  ):
      super(MockMasterSearchRunner, self).__init__(
          search_method, searcher_dir
      )
      self.mock_master_obj = mock_master_object
      initial_ops = bindings.v1InitialOperations()
      event_obj = bindings.v1SearcherEvent(
          id=1, initialOperations=initial_ops
      )
      self.mock_master_obj.add_event(event_obj)
  
imports: import abc
  import logging
  from pathlib import Path
  from typing import Any, Dict, Iterable, List, Optional, Sequence, Union
  from unittest.mock import Mock
  from determined import searcher
  from determined.common.api import bindings
  from determined.experimental import client
label_desc: Use image node_id 1 to create a new MockMasterSearchRunner object from inherited base classes: searcher with example: obj = MockMasterSearchRunner(search_method, mock_master_object, searcher_dir)