Skip to content

Unable to instantiate RedisCluster according to pyright #3574

Open
@trajano

Description

@trajano

I got the following error on pyright

 error: Cannot instantiate abstract class "RedisCluster"
    "CommandsProtocol.connection_pool" is not implemented (reportAbstractUsage)

When doing

return RedisCluster(startup_nodes=startup_nodes,  protocol=3)

Metadata

Metadata

Assignees

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