code: def __init__(
      self, client, job_error_reaction="raise", save_ipy_metadata=True
  ):
      self._client = client
      self._clientlbv = client.load_balanced_view()
      self.job_map = {}
      self.job_error_reaction = job_error_reaction
      self.save_ipy_metadata = save_ipy_metadata
      Trials.__init__(self)
      self._testing_fmin_was_called = False
  
imports: from time import sleep, time
  import numpy
  from .base import Trials
  from .base import Domain
  from .base import JOB_STATE_NEW
  from .base import JOB_STATE_RUNNING
  from .base import JOB_STATE_DONE
  from .base import JOB_STATE_ERROR
  from .base import spec_from_misc
  from .base import Ctrl
  from .utils import coarse_utcnow
  import sys
label_desc: Use image node_id 1 to create a new IPythonTrials object from inherited base classes: Trials with example: obj = IPythonTrials(client, job_error_reaction, save_ipy_metadata)