code: def _setup_redis(self):
          
          if not self.closed:
              try:
                  self.logger.debug("Creating redis connection to host " +
                                    str(self.settings['REDIS_HOST']))
                  self.redis_conn = redis.StrictRedis(host=self.settings['REDIS_HOST'],
                                                port=self.settings['REDIS_PORT'],
                                                db=self.settings['REDIS_DB'])
                  self.redis_conn.info()
                  self.redis_connected = True
                  self.logger.info("Successfully connected to redis")
              except KeyError as e:
                  self.logger.error('Missing setting named ' + str(e),
                                     {'ex': traceback.format_exc()})
              except:
                  self.logger.error("Couldn't initialize redis client.",
                                     {'ex': traceback.format_exc()})
                  raise
docs: Returns a Redis Client