Skip to content

Latest commit

 

History

History
130 lines (130 loc) · 3.71 KB

github-issues.org

File metadata and controls

130 lines (130 loc) · 3.71 KB

Issues of cachew

keep hash along each cached entity instead of separate table?

At the moment there are two separate tables: one for latest hash value, another for cached entities.
It might be simpler and safer to keep a single table, with hash along with each cached entity.

support multiple cached values?

At the moment it's LRU(1) cache, it some usecases it makes sense to cache more values though

support pathlib.Path

Path is a trivial wrapper around str. I guess generally think of a good way to allow adhoc mapping of simple types.
Perhaps current Exception makes sense.

support defensive behaviour

E.g. if we can't serialize for some reason, bail the database but at least yield values anyway

Add Redis support

Add Redis support as an alternative to sqlite

This would be a great feature as it will make this solution easier to use in an enterprise production environment as getting a redis instance shared amonst multiple instances of your app is very easy and cost effective to use.

better pytz support?

Optional feature: Exception support

Add doc on defensive/optional usage

Safer concurrent writes handling

Update readme

support for dataclasses

Fix Json support for python3.6

Fix bug when default argument is explicitly specified

Union types

support top level primitive types