def GetAllFields(fielddefs):
  return [fdef for (fdef, _, _, _) in fielddefs]
Extract L{objects.QueryFieldDefinition} from field definitions.
dataset/ETHPy150Open ganeti/ganeti/lib/query.py/GetAllFields