def __nnc_values_generator_to_list(self, generator):
    """Converts a NNC values generator to a list."""
    vals = []
    for chunk in generator:
        for value in chunk.values:
            vals.append(value)
    return vals