1 from typing import Any, Callable, Type, TypeVar
\r
5 _FuncT = TypeVar('_FuncT', bound=Callable[..., Any])
\r
7 # Thesee definitions have special processing in mypy
\r
9 def register(cls: "ABCMeta", subclass: Type[_T]) -> Type[_T]: ...
\r
11 def abstractmethod(callable: _FuncT) -> _FuncT: ...
\r
12 class abstractproperty(property): ...
\r
13 # These two are deprecated and not supported by mypy
\r
14 def abstractstaticmethod(callable: _FuncT) -> _FuncT: ...
\r
15 def abstractclassmethod(callable: _FuncT) -> _FuncT: ...
\r
17 class ABC(metaclass=ABCMeta): ...
\r
19 def get_cache_token() -> object: ...
\r