cachier icon indicating copy to clipboard operation
cachier copied to clipboard

Persistent, stale-free, local and cross-machine caching for Python functions.

Results 38 cachier issues
Sort by recently updated
recently updated
newest added

Well, my use case is: I have a function that queries the database, the input is the database alias and the query. It's working great, but I just saw that...

enhancement
good first issue

Hello, I found `cachier` failed with a unpickable Class , becase that class contain database session . It is no need to cache `self` in a class method . Maybe...

enhancement
good first issue

Hi, When using `@cachier` with tqdm utility for multiprocessing or multithreading, cachier always get stuck in what seems to be an infinite loop. I tried playing with the decorator args,...

bug
help wanted
stale
complex issue

In the readme, it is set that a class method shall not be cased if they use self, but nothing prevents top so, and the user can easily fall to...

bug

@shaypal5 would it be possible to reduce the number of events in the PR? It is super long, and GH hides all intermediate comments, so the PR is much harder...

enhancement
help wanted
testing and development

So far, the major bottleneck for any contributor and eventually maintainers are the DB tests - contributor: does not get them rum as they connect to some external DB, and...

enhancement
complex issue
testing and development

When using cachier with some long-running functions, I get the following error: ```python OSError: inotify instance limit reached ``` A fuller stack trace is in the details below. I have...

bug

A suggestion by [@blakeNaccarato](https://github.com/blakeNaccarato) "I think the hash function extension concept could be neatly extended by designating "handlers" for certain object types. Instead of overriding the entire hash method altogether,...

enhancement
help wanted
complex issue

Hi, there seems to be an issue when cachier is being used as a decorator for a method. - Or am I understanding cachier wrong? ```python # Python 3.12.3 import...

bug
help wanted