I am storing a list in Redis like this:
redis.lpush(\'foo\', [1,2,3,4,5,6,7,8,9])
And then I get the list back like this:
r
import json r = [b'[1, 2, 3, 4, 5, 6, 7, 8, 9]'] rstr = r[0] res_list = json.loads(rstr)