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
I'm having the same issues using pyright==1.1.323. xread() method is typed as returning ResponseT which is a type-alias for Union[Awaitable, Any]. From pyright's point of view this kinda makes sense, as an Awaitable and Any is indeed quite different.
Does it exist any suggested way of telling the type-checker whether we are using sync or async Redis to avoid this, or is this a bug?
Hello,
pyright returns a error with the new version :
Version: 5.0.0
Platform: MacOs amd64
Description:
for l in redis.xread({"events": "0"}, count=100000, block=0):
The text was updated successfully, but these errors were encountered: