diff options
Diffstat (limited to '.venv/lib/python3.12/site-packages/aiofiles-stubs/threadpool/utils.pyi')
-rw-r--r-- | .venv/lib/python3.12/site-packages/aiofiles-stubs/threadpool/utils.pyi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/aiofiles-stubs/threadpool/utils.pyi b/.venv/lib/python3.12/site-packages/aiofiles-stubs/threadpool/utils.pyi new file mode 100644 index 00000000..438a6851 --- /dev/null +++ b/.venv/lib/python3.12/site-packages/aiofiles-stubs/threadpool/utils.pyi @@ -0,0 +1,10 @@ +from collections.abc import Callable +from typing import TypeVar + +_T = TypeVar("_T", bound=type) + +# All these function actually mutate the given type: +def delegate_to_executor(*attrs: str) -> Callable[[_T], _T]: ... +def proxy_method_directly(*attrs: str) -> Callable[[_T], _T]: ... +def proxy_property_directly(*attrs: str) -> Callable[[_T], _T]: ... +def cond_delegate_to_executor(*attrs: str) -> Callable[[_T], _T]: ... |