Skip to content

redis.asyncio.cluster.ClusterPipeline dose not have set_response_callback and nodes_manager #3936

@EthanKk

Description

@EthanKk

redis-py version: 7.1.0

when use redis.asyncio.cluster.ClusterPipeline.json()

def json(self, encoder=JSONEncoder(), decoder=JSONDecoder()) -> JSON:
    """Access the json namespace, providing support for redis json."""

    from .json import JSON

    jj = JSON(client=self, encoder=encoder, decoder=decoder)
    return jj

get_protocol_version function used when initializing JSON(...)
but redis.asyncio.cluster.ClusterPipeline dose not have attribute nodes_manager and set_response_callback

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions