[cachetools] Update to 6.2.* (#14644)

This commit is contained in:
Brian Schubert
2025-08-26 04:52:23 -04:00
committed by GitHub
parent bc1737a300
commit dede8bcca6
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
version = "6.1.*"
version = "6.2.*"
upstream_repository = "https://github.com/tkem/cachetools"
+3 -1
View File
@@ -3,7 +3,7 @@ from collections.abc import Callable, Iterator, MutableMapping, Sequence
from contextlib import AbstractContextManager
from threading import Condition
from typing import Any, TypeVar, overload
from typing_extensions import deprecated
from typing_extensions import Self, deprecated
__all__ = ("Cache", "FIFOCache", "LFUCache", "LRUCache", "RRCache", "TLRUCache", "TTLCache", "cached", "cachedmethod")
__version__: str
@@ -52,6 +52,8 @@ class RRCache(Cache[_KT, _VT]):
def __init__(self, maxsize: float, choice: Callable[[Sequence[_KT]], _KT], getsizeof: Callable[[_VT], float]) -> None: ...
@property
def choice(self) -> Callable[[Sequence[_KT]], _KT]: ...
def __setitem__(self, key: _KT, value: _VT, cache_setitem: Callable[[Self, _KT, _VT], None] = ...) -> None: ...
def __delitem__(self, key: _KT, cache_delitem: Callable[[Self, _KT], None] = ...) -> None: ...
class _TimedCache(Cache[_KT, _VT]):
@overload