diff --git a/stream_zip.py b/stream_zip.py index 11bc4ab..0e83497 100644 --- a/stream_zip.py +++ b/stream_zip.py @@ -251,7 +251,7 @@ def _zip_64_local_header_and_data( mod_at_unix_extra: bytes, aes_extra: bytes, external_attr: int, uncompressed_size: int, crc_32: int, crc_32_mask: int, _get_compress_obj: _CompressObjGetter, encryption_func: Callable[[Generator[bytes, None, Any]], Generator[bytes, None, Any]], chunks: Iterable[bytes], - ) -> Generator[bytes, None, Any]: + ) -> Generator[bytes, None, Tuple[bytes, bytes, bytes]]: file_offset = offset _raise_if_beyond(file_offset, maximum=0xffffffffffffffff, exception_class=OffsetOverflowError) @@ -323,7 +323,7 @@ def _zip_32_local_header_and_data( mod_at_unix_extra: bytes, aes_extra: bytes, external_attr: int, uncompressed_size: int, crc_32: int, crc_32_mask: int, _get_compress_obj: _CompressObjGetter, encryption_func: Callable[[Generator[bytes, None, Any]], Generator[bytes, None, Any]], chunks: Iterable[bytes], - ) -> Generator[bytes, None, Any]: + ) -> Generator[bytes, None, Tuple[bytes, bytes, bytes]]: file_offset = offset _raise_if_beyond(file_offset, maximum=0xffffffff, exception_class=OffsetOverflowError) @@ -411,7 +411,7 @@ def _no_compression_64_local_header_and_data( mod_at_unix_extra: bytes, aes_extra: bytes, external_attr: int, uncompressed_size: int, crc_32: int, crc_32_mask: int, _get_compress_obj: _CompressObjGetter, encryption_func: Callable[[Generator[bytes, None, Any]], Generator[bytes, None, Any]], chunks: Iterable[bytes], - ) -> Generator[bytes, None, Any]: + ) -> Generator[bytes, None, Tuple[bytes, bytes, bytes]]: file_offset = offset _raise_if_beyond(file_offset, maximum=0xffffffffffffffff, exception_class=OffsetOverflowError) @@ -478,7 +478,7 @@ def _no_compression_32_local_header_and_data( mod_at_unix_extra: bytes, aes_extra: bytes, external_attr: int, uncompressed_size: int, crc_32: int, crc_32_mask: int, _get_compress_obj: _CompressObjGetter, encryption_func: Callable[[Generator[bytes, None, Any]], Generator[bytes, None, Any]], chunks: Iterable[bytes], - ) -> Generator[bytes, None, Any]: + ) -> Generator[bytes, None, Tuple[bytes, bytes, bytes]]: file_offset = offset _raise_if_beyond(file_offset, maximum=0xffffffff, exception_class=OffsetOverflowError) @@ -551,7 +551,7 @@ def _no_compression_streamed_64_local_header_and_data( mod_at_unix_extra: bytes, aes_extra: bytes, external_attr: int, uncompressed_size: int, crc_32: int, crc_32_mask: int, _get_compress_obj: _CompressObjGetter, encryption_func: Callable[[Generator[bytes, None, Any]], Generator[bytes, None, Any]], chunks: Iterable[bytes], - ) -> Generator[bytes, None, Any]: + ) -> Generator[bytes, None, Tuple[bytes, bytes, bytes]]: file_offset = offset _raise_if_beyond(file_offset, maximum=0xffffffffffffffff, exception_class=OffsetOverflowError)