Skip to main content

NullCache.pop()

Return default, shaped as get() returns it. With invalidate=, also delete the key from

Usage

Source

NullCache.pop(self, key: Key, default: Any = None, expire_time: Literal[False] = False, tag: Literal[False] = False, retry: bool = False) -> Any
 
NullCache.pop(self, key: Key, default: Any = None, expire_time: Literal[True], tag: Literal[False] = False, retry: bool = False) -> tuple[Any, Optional[float]]
 
NullCache.pop(self, key: Key, default: Any = None, expire_time: Literal[False] = False, tag: Literal[True], retry: bool = False) -> tuple[Any, Key]
 
NullCache.pop(self, key: Key, default: Any = None, expire_time: Literal[True], tag: Literal[True], retry: bool = False) -> tuple[Any, Optional[float], Key]

that cache.