Update cachetools stubs to 5.3.* (#9666)

This commit is contained in:
Alex Waygood
2023-02-03 12:20:38 +00:00
committed by GitHub
parent 4afda1dbe3
commit f94d496626
2 changed files with 5 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
version = "5.2.*"
version = "5.3.*"
[tool.stubtest]
ignore_missing_stub = false

View File

@@ -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],