def bootstrap(self, artifact, force_update=False, package_name='',
      revision='', timestamp='', cleanup_token='', bootstrap_script='',
      data_dir_indexes='0', **config_files):
    try:
      config_dict = {
        'artifact': artifact,
        'force_update': force_update,
        'package_name': package_name,
        'revision': revision,
        'timestamp': timestamp,
        'cleanup_token': cleanup_token,
        'bootstrap.sh': bootstrap_script,
        'data_dir_indexes': data_dir_indexes,
        'config_files': config_files,
      }
      if self.instance_id == -1:
        message = self.proxy.deployment.bootstrap(self.service, self.cluster,
          self.job, config_dict)
      else:
        message = self.proxy.deployment.bootstrap(self.service, self.cluster,
          self.job, config_dict, self.instance_id)
    except (xmlrpclib.Error, socket.error), e:
      raise e
    return message
Prepare process. Create temp directories, download and/or unpack files.
dataset/ETHPy150Open XiaoMi/minos/client/supervisor_client.py/SupervisorClient.bootstrap--crossover with--dataset/ETHPy150Open balanced/status.balancedpayments.com/venv/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/req.py/RequirementSet.prepare_files