aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/aiofiles-stubs/threadpool/utils.pyi
blob: 438a6851ef72c5714eaf8bde7525338c6a66e450 (about) (plain)
1
2
3
4
5
6
7
8
9
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]: ...