Open larsblumberg opened 1 year ago
In cachetools we can get the cache from a @cached decorated function, i.e. in order to clear the cache:
cachetools
cache
@cached
@cached def some_func(): pass some_func.cache.clear()
@cached of asyncache doesn't yet seem to expose the cache or am I overlooking something?
asyncache
I also noticed the same thing, are there any plans to add this?
In
cachetools
we can get thecache
from a@cached
decorated function, i.e. in order to clear the cache:@cached
ofasyncache
doesn't yet seem to expose thecache
or am I overlooking something?