code: def __getstate__(self):
      rval = dict(self.__dict__)
      del rval["_client"]
      del rval["_trials"]
      del rval["job_map"]
      # print rval.keys()
      return rval
  
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 6 for calling the IPythonTrials obj's underlying member method code with example usage: obj.__getstate__() and returns: rval