def _CreateSummaryTable(run_status_tuples):
  assert run_status_tuples, ('run_status_tuples must contain at least one '
                             'element.')
  col_headers = 'Name', 'UID', 'Status'
  col_lengths = []
  for col_header, col_entries in zip(col_headers, zip(*run_status_tuples)):
    max_col_content_length = max(len(entry) for entry in col_entries)
    col_lengths.append(max(len(col_header), max_col_content_length))
  line_length = (len(col_headers) - 1) * len(_COL_SEPARATOR) + sum(col_lengths)
  dash_line = '-' * line_length
  line_format = _COL_SEPARATOR.join(
      '{{{0}:<{1}s}}'.format(col_index, col_length)
      for col_index, col_length in enumerate(col_lengths))
  msg = [dash_line, line_format.format(*col_headers), dash_line]
  msg.extend(line_format.format(*row_entries)
             for row_entries in run_status_tuples)
  msg.append(dash_line)
  return os.linesep.join(msg)
Returns Translation base model field names (excepted "id" field).
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/benchmark_status.py/_CreateSummaryTable--crossover with--dataset/ETHPy150Open ulule/django-linguist/linguist/cache.py/_get_translation_field_names