def get_unique_combinations(combinations_per_row):
    """Performs set.union on a list of sets

    Parameters
    ----------

    combinations_per_row : List[Set[Tuple[int]]]
        list of combination assignments per row

    Returns
    -------
    Set[Tuple[int]]
        all unique label combinations
    """
    return set.union(*combinations_per_row)