def atomic_group_add_labels(id, labels):
 label_objs = models.Label.smart_get_bulk(labels)
 models.AtomicGroup.smart_get(id).label_set.add(*label_objs)

def atomic_group_add_labels ( id , labels ) : label_objs = models . Label . smart_get_bulk ( labels ) models . AtomicGroup . smart_get ( id ) . label_set . add ( * label_objs )
add labels to atomic group .