mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-01 07:23:47 +08:00
[aiofiles] Add aiofiles.threadpool.wrap (#15626)
This commit is contained in:
1 parent
c08fa66771
commit
86e2b8518e
1 file changed
+4
-1
@@ -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