SebastiaanZ / async-rediscache

An easy-to-use asynchronous redis-backed caching utility
18 stars 3 forks source link

Allow RedisCache.update to take keyword arguments #14

Open mbaruh opened 3 years ago

mbaruh commented 3 years ago

Currently, the update method of RedisCache only accepts a dictionary.

I think it should be able to accept keyword arguments as well, similarly to a dict. This will allow code using RedisCache to look cleaner in cases where the keys are constant.

kwzrd commented 3 years ago

Tangentially related to #12.