This repository has been archived by the owner on Feb 21, 2023. It is now read-only.
aioredis.exceptions.ResponseError: wrong number of arguments for 'hset' command #1376
Open
1 task done
Labels
Describe the bug
hset function uses HSET command.
when mapping has multi pairs, ResponseError was raised as follow:
aioredis.exceptions.ResponseError: wrong number of arguments for 'hset' command
use HMSET instead?
To Reproduce
loop.run_until_complete(cli.hset('adict', mapping={'a':1, 'b':2}))
Expected behavior
ok
Logs/tracebacks
Python Version
aioredis Version
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: