def _BuildFilterFields():
  fields = [
    (_MakeField(name, title, kind, doc), None, 0, _GetItemMaybeAttr(name))
    for (name, (title, kind, _, doc)) in _FILTER_SIMPLE_FIELDS.items()
    ]

  return _PrepareFieldList(fields, [])

#: Fields for cluster information
Builds list of fields for job filter queries.
dataset/ETHPy150Open ganeti/ganeti/lib/query.py/_BuildFilterFields