[aiofiles] Add aiofiles.threadpool.wrap (#15626)

This commit is contained in:
qorex
2026-04-08 16:55:13 +05:00
committed by GitHub
parent c08fa66771
commit 86e2b8518e
@@ -9,7 +9,8 @@ from _typeshed import (
from asyncio import AbstractEventLoop
from collections.abc import Callable
from concurrent.futures import Executor
from typing import Literal, overload
from functools import _SingleDispatchCallable
from typing import Any, Literal, overload
from typing_extensions import TypeAlias
from ..base import AiofilesContextManager
@@ -98,6 +99,8 @@ def open(
executor: Executor | None = None,
) -> AiofilesContextManager[_UnknownAsyncBinaryIO]: ...
wrap: _SingleDispatchCallable[Any]
stdin: AsyncTextIndirectIOWrapper
stdout: AsyncTextIndirectIOWrapper
stderr: AsyncTextIndirectIOWrapper