def redis_channels(self): return [RedisPubSub.get_experimenter_channel(self.experiment_id)]
def get_auth_token(self): key = "%s_%s" % (self.email, self.user_id) return RedisPubSub.get_redis_instance().get(key)
def redis_channels(self): return (RedisPubSub.get_participant_broadcast_channel(self.experiment_id), RedisPubSub.get_participant_group_channel(self.group_id))