def GetAllClientLabels(token, include_catchall=False):
 labels_index = aff4.FACTORY.Create(standard.LabelSet.CLIENT_LABELS_URN, standard.LabelSet, mode='r', token=token)
 labels = set(labels_index.ListLabels())
 if include_catchall:
  labels.add(ALL_CLIENTS_LABEL)
 return labels

def GetAllClientLabels ( token , include_catchall = False ) : labels_index = aff4 . FACTORY . Create ( standard . LabelSet . CLIENT_LABELS_URN , standard . LabelSet , mode = 'r' , token = token ) labels = set ( labels_index . ListLabels ( ) ) if include_catchall : labels . add ( ALL_CLIENTS_LABEL ) return labels
get the set of all label names applied to all clients .