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 guess what you're expecting to see is something like async def set, but this is not how it's implemented.
If you look to the set method implementation (and not only) it returns self.execute_command("SET", *pieces, **options).
Inside redis.asyncio.Redis, you can see that it overrides execute_command method with async one.
So when we do client.set we receive async coroutine and combining with await we execute the coroutine. In the sync Redis when we execute set (client.set) we immediately send the command.
Version: What redis-py and what redis version is the issue happening on?
^5.0.8
Platform: What platform / version? (For example Python 3.5.1 on Windows 7 / Ubuntu 15.10 / Azure)
macOS, python 3.12.4
Description: Description of your issue, stack traces from errors and code that reproduces the issue
The set method seems to resolve to under
redis/commands/core.py
Correct me if I am wrong, but this doesn't seem to be an async set function. Is this expected behavior of async redis?
This is my project.toml
The text was updated successfully, but these errors were encountered: