tools/perf/core/services/buildbucket_service.py
def GetBuilds(project, bucket, builder, only_completed=True):
  """Get a list of recent builds from a given builder.

  Args:
    project: The LUCI project name (e.g. 'chromium').
    bucket: The LUCI bucket name (e.g. 'ci' or 'try').
    builder: The builder name (e.g. 'linux_chromium_rel_ng').
    only_completed: An optional bool to indicate whehter builds that have
      not yet finished should be included in the results. The default is to
      include only completed builds.
  """
  data = {
      'predicate': {
          'builder': {
              'project': project,
              'bucket': bucket,
              'builder': builder
          }
      }
  }
  if only_completed:
    data['predicate']['status'] = 'ENDED_MASK'
  return Request('SearchBuilds', data=data)
Get a list of recent builds from a given builder.

  Args:
    project: The LUCI project name (e.g. 'chromium').
    bucket: The LUCI bucket name (e.g. 'ci' or 'try').
    builder: The builder name (e.g. 'linux_chromium_rel_ng').
    only_completed: An optional bool to indicate whehter builds that have
      not yet finished should be included in the results. The default is to
      include only completed builds.
  
Get a list of recent builds from a given builder.
Get a list of recent builds from a given builder .
def GetBuilds(project, bucket, builder, only_completed=True):
  data = {
      'predicate': {
          'builder': {
              'project': project,
              'bucket': bucket,
              'builder': builder
          }
      }
  }
  if only_completed:
    data['predicate']['status'] = 'ENDED_MASK'
  return Request('SearchBuilds', data=data)
def GetBuilds ( project , bucket , builder , only_completed = True ) : data = { 'predicate' : { 'builder' : { 'project' : project , 'bucket' : bucket , 'builder' : builder } } } if only_completed : data [ 'predicate' ] [ 'status' ] = 'ENDED_MASK' return Request ( 'SearchBuilds' , data = data )
Get a list of recent builds from a given builder.
Get a list of recent builds from a given builder .
"""Get a list of recent builds from a given builder.

  Args:
    project: The LUCI project name (e.g. 'chromium').
    bucket: The LUCI bucket name (e.g. 'ci' or 'try').
    builder: The builder name (e.g. 'linux_chromium_rel_ng').
    only_completed: An optional bool to indicate whehter builds that have
      not yet finished should be included in the results. The default is to
      include only completed builds.
  """
project
The LUCI project name .
The LUCI project name .
bucket
The LUCI bucket name .
The LUCI bucket name .
builder
The builder name .
The builder name .
only_completed
An optional bool to indicate whehter builds that have
not yet finished should be included in the results. The default is to
include only completed builds.
An optional bool to indicate whehter builds that have not yet finished should be included in the results . The default is to include only completed builds .