mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Update cachetools stubs to 5.3.* (#9666)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
version = "5.2.*"
|
||||
version = "5.3.*"
|
||||
|
||||
[tool.stubtest]
|
||||
ignore_missing_stub = false
|
||||
|
||||
@@ -97,7 +97,10 @@ class TLRUCache(_TimedCache[_KT, _VT]):
|
||||
def expire(self, time: float | None = ...) -> None: ...
|
||||
|
||||
def cached(
|
||||
cache: MutableMapping[_KT, Any] | None, key: Callable[..., _KT] = ..., lock: AbstractContextManager[Any] | None = ...
|
||||
cache: MutableMapping[_KT, Any] | None,
|
||||
key: Callable[..., _KT] = ...,
|
||||
lock: AbstractContextManager[Any] | None = None,
|
||||
info: bool = False,
|
||||
) -> IdentityFunction: ...
|
||||
def cachedmethod(
|
||||
cache: Callable[[Any], MutableMapping[_KT, Any] | None],
|
||||
|
||||
Reference in New Issue
Block a user