We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version: 5.0.3
Platform: Python 3.12 on Fedora 39, using Redis 7.2.4
Description: When linting the following line with MyPy, it reports an incompatible type.
from redis.asyncio import from_url r = from_url("redis://localhost") await r.sadd("key", "value")
test.py:5: error: Incompatible types in "await" (actual type "Awaitable[int] | int", expected type "Awaitable[Any]") [misc]
Using set, get, incrby, etc. doesn’t trigger this error.
set
get
incrby
The text was updated successfully, but these errors were encountered:
sismember also got the same problem.
sismember
Sorry, something went wrong.
duplicated issue #2399
No branches or pull requests
Version: 5.0.3
Platform: Python 3.12 on Fedora 39, using Redis 7.2.4
Description: When linting the following line with MyPy, it reports an incompatible type.
Using
set
,get
,incrby
, etc. doesn’t trigger this error.The text was updated successfully, but these errors were encountered: