diff --git a/stubs/cachetools/METADATA.toml b/stubs/cachetools/METADATA.toml index 31f638bf3..de720977e 100644 --- a/stubs/cachetools/METADATA.toml +++ b/stubs/cachetools/METADATA.toml @@ -1,2 +1 @@ -version = "0.1" -python2 = true +version = "4.2" diff --git a/stubs/cachetools/cachetools/keys.pyi b/stubs/cachetools/cachetools/keys.pyi new file mode 100644 index 000000000..9effbe6e1 --- /dev/null +++ b/stubs/cachetools/cachetools/keys.pyi @@ -0,0 +1,4 @@ +from typing import Hashable, Tuple + +def hashkey(*args: Hashable, **kwargs: Hashable) -> Tuple[Hashable, ...]: ... +def typedkey(*args: Hashable, **kwargs: Hashable) -> Tuple[Hashable, ...]: ...