@property
    def redis(self):
        if not self.__redis:
            redis = Redis( host=self.__host, port=self.__port, password=self.__password, socket_timeout=self.__connection_timeout )
            self.__update_latest( redis )
            #__update_latest can raise an exception, so don't assign to self until it
            #completes successfully
            self.__redis = redis
        return self.__redis
Returns the redis.client object for the given host/port
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/builtin_monitors/redis_monitor.py/RedisHost.redis