Skip to content

Commit f5325d1

Browse files
committed
mypy again
1 parent dc72b75 commit f5325d1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/unstructured_client/_hooks/custom/split_pdf_hook.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import tempfile
1111
import threading
1212
import uuid
13-
from collections.abc import Awaitable
13+
from collections.abc import Awaitable, Iterable
1414
from concurrent import futures
1515
from functools import partial
1616
from pathlib import Path
@@ -652,6 +652,7 @@ def _before_request_unlocked(
652652
pdf_bytes = pdf.stream.read()
653653

654654
temp_dir_path = None
655+
pdf_chunks: Iterable[Tuple[BinaryIO, int]]
655656
if cache_tmp_data_feature:
656657
pdf_chunk_paths = self._get_pdf_chunk_paths(
657658
pdf_bytes,

0 commit comments

Comments
 (0)