code: def generate_parameters(self, parameter_id, **kwargs):
      logging.debug("generate_parameters: %s %s", parameter_id, kwargs)
      if parameter_id == 0:
          return {"x": 0}
      else:
          while not self.parent_done:
              logging.debug("parameter_id %s sleeping", parameter_id)
              time.sleep(2)
          logging.debug("parameter_id %s waked up", parameter_id)
          return {"x": 1}
  
file_path: nni/test/training_service/config/multi_thread/multi_thread_tuner.py
imports: import logging
  import time
  from nni.tuner import Tuner
label_desc: Use image node_id 2 for calling the MultiThreadTuner obj's underlying member method code with example usage: obj.generate_parameters(parameter_id) and returns: dict, dict