code: def _get_redis_cache_opts():
      '''
      Return the Redis server connection details from the __opts__.
      '''
      return {
          'host': __opts__.get('cache.redis.host', 'localhost'),
          'port': __opts__.get('cache.redis.port', 6379),
          'unix_socket_path': __opts__.get('cache.redis.unix_socket_path', None),
          'db': __opts__.get('cache.redis.db', '0'),
          'password': __opts__.get('cache.redis.password', ''),
          'cluster_mode': __opts__.get('cache.redis.cluster_mode', False),
          'startup_nodes': __opts__.get('cache.redis.cluster.startup_nodes', {}),
          'skip_full_coverage_check': __opts__.get('cache.redis.cluster.skip_full_coverage_check', False),
      f _get_redis_cache_opts():
      '''
      Return the Redis server connection details from the __opts__.
      '''
      return {
          'host': __opts__.get('cache.redis.host', 'localhost'),
          'port': __opts__.get('cache.redis.port', 6379),
          'unix_socket_path': __opts__.get('cache.redis.unix_socket_path', None),
          'db': __opts__.get('cache.redis.db', '0'),
          'password': __opts__.get('cache.redis.password', ''),
          'cluster_mode': __opts__.get('cache.redis.cluster_mode', False),
          'startup_nodes': __opts__.get('cache.redis.cluster.startup_nodes', {}),
          'skip_full_coverage_check': __opts__.get('cache.redis.cluster.skip_full_coverage_check', False),
      }
docs: Return the Redis server connection details from the __opts__.