def add_many(self, score_value_pairs):
        key = self.get_key()
        scores = list(zip(*score_value_pairs))[0]
        msg_format = 'Please send floats as the first part of the pairs got %s'
        numeric_types = (float,) + six.integer_types
        if not all([isinstance(score, numeric_types) for score in scores]):
            raise ValueError(msg_format % score_value_pairs)
        results = []

        def _add_many(redis, score_value_pairs):
            score_value_list = sum(map(list, score_value_pairs), [])
            score_value_chunks = chunks(score_value_list, 200)

            for score_value_chunk in score_value_chunks:
                result = redis.zadd(key, *score_value_chunk)
                logger.debug('adding to %s with score_value_chunk %s',
                             key, score_value_chunk)
                results.append(result)
            return results

        # start a new map redis or go with the given one
        results = self._pipeline_if_needed(_add_many, score_value_pairs)

        return results
Property to retrieve the backend
dataset/ETHPy150Open tschellenbach/Stream-Framework/stream_framework/storage/redis/structures/sorted_set.py/RedisSortedSetCache.add_many--crossover with--dataset/ETHPy150Open ziirish/burp-ui/burpui/misc/acl/basic.py/ACLloader.acl