INNER CODE UNIT · Python
_clear_cache
python-cachier/cachier · src/cachier/core.py:736
def _clear_cache():
"""Clear the cache."""
core.clear_cache()
if is_coroutine:
return _ImmediateAwaitable()
return None
def _clear_being_calculated():
"""Mark all entries in this cache as not being calculated."""
core.clear_being_calculated()
if is_coroutine:
return _ImmediateAwaitable()
return None
async def _aclear_cache():
"""Clear the cache asynchronously."""
await core.aclear_cache()