mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-09 06:45:51 +08:00
Update cachetools stubs to 5.3.* (#9666)
This commit is contained in:
1 parent
4afda1dbe3
commit
f94d496626
2 files changed
+5
-2
No files matched your search
@@ -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