Skip to content

Commit a7ff1be

Browse files
authored
Bump cachetools to 5.5.* (#12556)
1 parent 78ebab7 commit a7ff1be

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

stubs/cachetools/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = "5.4.*"
1+
version = "5.5.*"
22
upstream_repository = "https://github.com/tkem/cachetools"

stubs/cachetools/cachetools/__init__.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class TTLCache(_TimedCache[_KT, _VT]):
8585
) -> None: ...
8686
@property
8787
def ttl(self) -> float: ...
88-
def expire(self, time: float | None = None) -> None: ...
88+
def expire(self, time: float | None = None) -> list[tuple[_KT, _VT]]: ...
8989

9090
class TLRUCache(_TimedCache[_KT, _VT]):
9191
def __init__(
@@ -97,7 +97,7 @@ class TLRUCache(_TimedCache[_KT, _VT]):
9797
) -> None: ...
9898
@property
9999
def ttu(self) -> Callable[[_KT, _VT, float], float]: ...
100-
def expire(self, time: float | None = None) -> None: ...
100+
def expire(self, time: float | None = None) -> list[tuple[_KT, _VT]]: ...
101101

102102
def cached(
103103
cache: MutableMapping[_KT, Any] | None,

0 commit comments

Comments
 (0)