Skip to content

Commit

Permalink
Fix typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
PSU3D0 committed May 16, 2024
1 parent 704d805 commit ba175eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docprompt/_pdfium.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import pypdfium2 as pdfium
from contextlib import contextmanager
from threading import Lock
from typing import Any, List, Literal, Union, Optional
from typing import Any, Dict, List, Literal, Union, Optional
from os import PathLike
from pathlib import Path
import logging
Expand Down Expand Up @@ -67,7 +67,7 @@ def _render_parallel_init(
def _render_job(
i: int,
pdf: pdfium.PdfDocument,
kwargs: dict[str, Any],
kwargs: Dict[str, Any],
return_mode: Literal["pil", "bytes"],
):
# logger.info(f"Started page {i+1} ...")
Expand Down

0 comments on commit ba175eb

Please sign in to comment.