Bump cachetools to 5.5.* (#12556)

This commit is contained in:
sobolevn
2024-08-19 16:34:29 +03:00
committed by GitHub
parent 78ebab7e91
commit a7ff1be439
2 changed files with 3 additions and 3 deletions

View File

@@ -1,2 +1,2 @@
version = "5.4.*"
version = "5.5.*"
upstream_repository = "https://github.com/tkem/cachetools"

View File

@@ -85,7 +85,7 @@ class TTLCache(_TimedCache[_KT, _VT]):
) -> None: ...
@property
def ttl(self) -> float: ...
def expire(self, time: float | None = None) -> None: ...
def expire(self, time: float | None = None) -> list[tuple[_KT, _VT]]: ...
class TLRUCache(_TimedCache[_KT, _VT]):
def __init__(
@@ -97,7 +97,7 @@ class TLRUCache(_TimedCache[_KT, _VT]):
) -> None: ...
@property
def ttu(self) -> Callable[[_KT, _VT, float], float]: ...
def expire(self, time: float | None = None) -> None: ...
def expire(self, time: float | None = None) -> list[tuple[_KT, _VT]]: ...
def cached(
cache: MutableMapping[_KT, Any] | None,