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:
Robby
2024-02-12 19:51:06 -05:00
committed by GitHub
parent 0653aa469a
commit ece4b43a81
11 changed files with 37 additions and 24 deletions

View File

@@ -41,7 +41,7 @@ class ArcGISLoader(BaseLoader):
) from e
try:
from bs4 import BeautifulSoup # type: ignore
from bs4 import BeautifulSoup
self.BEAUTIFULSOUP = BeautifulSoup
except ImportError: