Skip to content

ft().info() raises AttributeError: 'RedisCluster' object has no attribute 'connection_pool' #2938

Closed
@GuyAv46

Description

@GuyAv46

Version: 5.0.0

Description:
The issue occurs when connecting to an OSS cluster with RedisCluster.

partial stack trace:

Traceback (most recent call last):
  File "/.../venv/lib/python3.8/site-packages/redis/commands/search/commands.py", line 451, in info
    return self._parse_results(INFO_CMD, res)
  File "/.../venv/lib/python3.8/site-packages/redis/commands/search/commands.py", line 67, in _parse_results
    if self.client.connection_pool.connection_kwargs.get("protocol") in ["3", 3]:
AttributeError: 'RedisCluster' object has no attribute 'connection_pool'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions