code: def _get_redis_server(opts=None):
      '''
      Return the Redis server instance.
      Caching the object instance.
      '''
      global REDIS_SERVER
      if REDIS_SERVER:
          return REDIS_SERVER
      if not opts:
          opts = _get_redis_cache_opts()
  
      if opts['cluster_mode']:
          REDIS_SERVER = StrictRedisCluster(startup_nodes=opts['startup_nodes'],
                                            skip_full_coverage_check=opts['skip_full_coverage_check'])
      else:
          REDIS_SERVER = redis.StrictRedis(opts['host'],
                                     opts['port'],
                                     unix_socket_path=opts['unix_socket_path'],
                                     db=opts['db'],
                                     password=opts['password'])
      return REDIS_SERVEf _get_redis_server(opts=None):
      '''
      Return the Redis server instance.
      Caching the object instance.
      '''
      global REDIS_SERVER
      if REDIS_SERVER:
          return REDIS_SERVER
      if not opts:
          opts = _get_redis_cache_opts()
  
      if opts['cluster_mode']:
          REDIS_SERVER = StrictRedisCluster(startup_nodes=opts['startup_nodes'],
                                            skip_full_coverage_check=opts['skip_full_coverage_check'])
      else:
          REDIS_SERVER = redis.StrictRedis(opts['host'],
                                     opts['port'],
                                     unix_socket_path=opts['unix_socket_path'],
                                     db=opts['db'],
                                     password=opts['password'])
      return REDIS_SERVER
docs: Return the Redis server instance.
      Caching the object instance.