parameters: (self)
return_statement: return parameters
docstring: Prepares a nested dict containing the bisect config.
docstring_summary: Prepares a nested dict containing the bisect config.
docstring_tokens: Prepares a nested dict containing the bisect config .
function: def GetBuildParameters(self):
      """Prepares a nested dict containing the bisect config."""
      # TODO(robertocn): Some of these should be optional.
      bisect_config = {
          'try_job_id': self.try_job_id,
          'test_type': self.test_type,
          'command': self.command,
          'good_revision': self.good_revision,
          'bad_revision': self.bad_revision,
          'metric': self.metric,
          'repeat_count': self.repeat_count,
          'max_time_minutes': self.max_time_minutes,
          'bug_id': self.bug_id,
          'gs_bucket': self.gs_bucket,
          'builder_host': self.builder_host,
          'builder_port': self.builder_port,
          'recipe_tester_name': self.recipe_tester_name,
      }
      if self.required_initial_confidence:
        bisect_config['required_initial_confidence'] = (
            self.required_initial_confidence)
      properties = {'bisect_config': bisect_config}
      parameters = {
          'builder_name': self.bisect_director,
          'properties': properties,
      }
      return parameters
function_tokens: def GetBuildParameters ( self ) : # TODO(robertocn): Some of these should be optional. bisect_config = { 'try_job_id' : self . try_job_id , 'test_type' : self . test_type , 'command' : self . command , 'good_revision' : self . good_revision , 'bad_revision' : self . bad_revision , 'metric' : self . metric , 'repeat_count' : self . repeat_count , 'max_time_minutes' : self . max_time_minutes , 'bug_id' : self . bug_id , 'gs_bucket' : self . gs_bucket , 'builder_host' : self . builder_host , 'builder_port' : self . builder_port , 'recipe_tester_name' : self . recipe_tester_name , } if self . required_initial_confidence : bisect_config [ 'required_initial_confidence' ] = ( self . required_initial_confidence ) properties = { 'bisect_config' : bisect_config } parameters = { 'builder_name' : self . bisect_director , 'properties' : properties , } return parameters