Jaymon / caches

Python caching backed by Redis
MIT License
6 stars 3 forks source link

KeyCache should have an update or save method #10

Closed Jaymon closed 3 years ago

Jaymon commented 5 years ago

Right now you save the data by setting .data, that works but is kind of inscrutable, but something like:

c = KeyCache("foo")
c.update("this value will be saved in key foo")

would be easier to document and discover