mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Bump cachetools to 5.5.* (#12556)
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
version = "5.4.*"
|
||||
version = "5.5.*"
|
||||
upstream_repository = "https://github.com/tkem/cachetools"
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user