mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-03 03:59:42 +00:00
community[patch]: doc loaders mypy fixes (#17368)
**Description:** Fixed `type: ignore`'s for mypy for some document_loaders. **Issue:** [Remove "type: ignore" comments #17048 ](https://github.com/langchain-ai/langchain/issues/17048) --------- Co-authored-by: Robby <h0rv@users.noreply.github.com> Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
This commit is contained in:
@@ -318,7 +318,7 @@ class PDFMinerPDFasHTMLLoader(BasePDFLoader):
|
||||
output_string = StringIO()
|
||||
with open_filename(self.file_path, "rb") as fp:
|
||||
extract_text_to_fp(
|
||||
fp, # type: ignore[arg-type]
|
||||
fp,
|
||||
output_string,
|
||||
codec="",
|
||||
laparams=LAParams(),
|
||||
|
Reference in New Issue
Block a user