Skip to content

Commit

Permalink
Bump cachetools to 5.5.* (#12556)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Aug 19, 2024
1 parent 78ebab7 commit a7ff1be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stubs/cachetools/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version = "5.4.*"
version = "5.5.*"
upstream_repository = "https://github.com/tkem/cachetools"
4 changes: 2 additions & 2 deletions stubs/cachetools/cachetools/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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__(
Expand All @@ -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,
Expand Down

0 comments on commit a7ff1be

Please sign in to comment.