mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-07 22:10:10 +08:00
[aiofiles] Add aiofiles.threadpool.wrap (#15626)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user