remove¶
-
abstract async
AsyncCacheAdapter.remove(*key: str) → bool[source]¶ Remove one or more keys from the cache.
If all cache keys existed before removal,
Truewill be returned. If some didn’t exist (and thus couldn’t remove), thenFalsewill be returned.- Parameters
key (str) – The cache key(s) to remove
- Return bool removed
Trueifkeyexisted and was removed- Return bool removed
Falseifkeydidn’t exist, and no action was taken.