From 9c087867ad0481dfa02e9b21b81934100f7b5bf1 Mon Sep 17 00:00:00 2001 From: Ivan Konovalov Date: Mon, 20 Mar 2023 17:32:53 +0500 Subject: [PATCH] Fix TypeError: Too many parameters for typing.AsyncIterable; actual 2, expected 1 --- yadisk_async/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yadisk_async/common.py b/yadisk_async/common.py index 8c2843c..f51d5f5 100644 --- a/yadisk_async/common.py +++ b/yadisk_async/common.py @@ -112,7 +112,7 @@ async def tell(self) -> int: ... bytes, IO, AsyncFileLike, - Callable[[], AsyncIterable[bytes, None]]] + Callable[[], AsyncIterable[bytes]]] FileOrPathDestination = Union[ str,