For each master node, its data will be replicated by its slave redis node.
If a master is down, and its slave is promoted to be a master by redis, a smart redis client will know that, and will use the new master accordingly. I am not aware of how well the pyredis handles it. We use java which has good smart clients in Jedis and Lettuce.