INNER CODE UNIT · Python
_aclear_being_calculated
python-cachier/cachier · src/cachier/core.py:754
async def _aclear_being_calculated():
"""Mark all entries in this cache as not being calculated asynchronously."""
await core.aclear_being_calculated()
def _cache_dpath():
"""Return the path to the cache dir, if exists; None if not."""
return getattr(core, "cache_dir", None)
def _precache_value(*args, value_to_cache, **kwds):
"""Add an initial value to the cache.
Parameters
----------
*args : Any
Positional arguments used to build the cache key.
value_to_cache : any
Entry to be written into the cache.
**kwds : Any