diff --git a/stubs/cachetools/METADATA.toml b/stubs/cachetools/METADATA.toml index afc1fcfda..a64439bf5 100644 --- a/stubs/cachetools/METADATA.toml +++ b/stubs/cachetools/METADATA.toml @@ -1,4 +1,4 @@ -version = "5.2.*" +version = "5.3.*" [tool.stubtest] ignore_missing_stub = false diff --git a/stubs/cachetools/cachetools/__init__.pyi b/stubs/cachetools/cachetools/__init__.pyi index eea24f3f6..06fcc5083 100644 --- a/stubs/cachetools/cachetools/__init__.pyi +++ b/stubs/cachetools/cachetools/__init__.pyi @@ -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],