-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
Description
Redis 4.5.1
Python 3.11.6 on OSX 14.1.2
It would be nice if a HSET using the mapping feature could be changed to HGET and set the variables if used to the appropriate values.
e.g
r.hset(name,mapping={'field1':field1,'field2':field2})
could be quickly changed to
r.hget(name,mapping={'field1':field1,'field2':field2})
to retrieve the 2 fields into the variables 'mapped' in the dictionary.