class_docstr: Experiment Class - create and run an experiment
  
  :param exp_config: configuration of the experiment
  :type exp_config: BasicConfig.BasicConfig
  :param username: username, default: None - will use login username
  :type username: str
  :param connector: connector to database
  :type connector: AbstractConnector
  :param auppath: Auptimizer env.ini file folder, default is either ``./.aup`` or ``~/.aup``
  :type auppath: str
  :param sleep_time: time to pause between jobs
  :type sleep_time: int
class_docstr_tok: ["Experiment","Class","-","create","and","run","an","experiment",":","param","exp_config",":","configuration","of","the","experiment",":","type","exp_config",":","BasicConfig.BasicConfig",":","param","username",":","username",",","default",":","None","-","will","use","login","username",":","type","username",":","str",":","param","connector",":","connector","to","database",":","type","connector",":","AbstractConnector",":","param","auppath",":","Auptimizer","env.ini","file","folder",",","default","is","either","``",".\/.aup","``","or","``","~\/.aup","``",":","type","auppath",":","str",":","param","sleep_time",":","time","to","pause","between","jobs",":","type","sleep_time",":","int"]
docstr: Restore previous experiment, previous job during suspension won't be run in this round
  
  :param filename: filename (saved by pickle as exp%d.pkl)
  :type filename: str
docstr_tok: ["Restore","previous","experiment",",","previous","job","during","suspension","wo","n't","be","run","in","this","round",":","param","filename",":","filename","(","saved","by","pickle","as","exp","%","d.pkl",")",":","type","filename",":","str"]
code: def resume(self, filename):
      """
      Restore previous experiment, previous job during suspension won't be run in this round
  
      :param filename: filename (saved by pickle as exp%d.pkl)
      :type filename: str
      """
      self.proposer.reload(
          filename
      )  # Note: previously failed jobs won't be execute again.
      self.start()
  
imports: import json
  import logging
  import os
  import signal
  import sys
  import _thread
  import threading
  import time
  from ..Proposer import get_proposer, SPECIAL_EXIT_PROPOSERS
  from .Job import Job
  from .Resource import get_resource_manager
  from ..aup import BasicConfig
  from ..utils import set_default_keyvalue, check_missing_key, get_default_connector, get_default_username
  from ..compression.utils import *
  from ..Proposer import ProposerStatus
label_desc: Use image node_id 5 for calling the Experiment obj's underlying member method code with example usage: obj.resume(filename) without return types