def _to_result(self, results):
        if results:
            if len(results) == 1:
                return results[0]
            else:
                return tuple(results)
dataset/ETHPy150Open tschellenbach/Stream-Framework/stream_framework/storage/redis/lists_storage.py/RedisListsStorage._to_result/original