Skip to content

Commit 5f72a43

Browse files
author
Andrei Neagu
committed
fixed types
1 parent 7b7aae0 commit 5f72a43

File tree

1 file changed

+2
-2
lines changed
  • packages/service-library/src/servicelib/zip_stream

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
from collections.abc import AsyncIterator, Callable
1+
from collections.abc import AsyncIterable, Callable
22
from typing import TypeAlias
33

44
FileNameInArchive: TypeAlias = str
5-
FileStream: TypeAlias = AsyncIterator[bytes]
5+
FileStream: TypeAlias = AsyncIterable[bytes]
66

77
ArchiveFileEntry: TypeAlias = tuple[FileNameInArchive, Callable[[], FileStream]]
88
ArchiveEntries: TypeAlias = list[ArchiveFileEntry]

0 commit comments

Comments
 (0)