You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest releases of the async version of RedisCluster for the redis library (i.e: redis.asyncio.cluster) are failing on mypy due to undefined attributes (which do exist in reality):
Steps to reproduce:
Install mypy
Install types-redis
Paste the following code into a file (e.g: main.py):
$ mypy redis_test.py
redis_test.py:11: error: "RedisCluster[Any]" has no attribute "zadd" [attr-defined]
redis_test.py:12: error: "RedisCluster[Any]" has no attribute "zrem" [attr-defined]
Found 2 errors in 1 file (checked 1 source file)
The text was updated successfully, but these errors were encountered:
The redis stubs are scheduled for removal (see #10592) and only support redis 4. While we still accept contributions, I'm closing this issue now for housekeeping purposes. Improvements to the types of redis 5 should be directed to the redis-py repository.
The latest releases of the async version of
RedisCluster
for theredis
library (i.e:redis.asyncio.cluster
) are failing onmypy
due to undefined attributes (which do exist in reality):Steps to reproduce:
mypy
types-redis
main.py
):mypy
:mypy main.py
The text was updated successfully, but these errors were encountered: