From 3aacd118461fad0311754e4a7debc8a791ea239d Mon Sep 17 00:00:00 2001 From: Leonid Ganeline Date: Thu, 4 Apr 2024 13:16:51 -0700 Subject: [PATCH] community[minor]: added missed class to __all__ (#19888) Added missed `UnstructuredCHMLoader` class to the document_loader.\_\_init\_\_.py \_\_all\_\_ --- libs/community/langchain_community/document_loaders/__init__.py | 1 + libs/community/tests/unit_tests/document_loaders/test_imports.py | 1 + 2 files changed, 2 insertions(+) diff --git a/libs/community/langchain_community/document_loaders/__init__.py b/libs/community/langchain_community/document_loaders/__init__.py index 6bfc9c49b0b..636df258b64 100644 --- a/libs/community/langchain_community/document_loaders/__init__.py +++ b/libs/community/langchain_community/document_loaders/__init__.py @@ -171,6 +171,7 @@ _module_lookup = { "TwitterTweetLoader": "langchain_community.document_loaders.twitter", "UnstructuredAPIFileIOLoader": "langchain_community.document_loaders.unstructured", "UnstructuredAPIFileLoader": "langchain_community.document_loaders.unstructured", + "UnstructuredCHMLoader": "langchain_community.document_loaders.chm", "UnstructuredCSVLoader": "langchain_community.document_loaders.csv_loader", "UnstructuredEPubLoader": "langchain_community.document_loaders.epub", "UnstructuredEmailLoader": "langchain_community.document_loaders.email", diff --git a/libs/community/tests/unit_tests/document_loaders/test_imports.py b/libs/community/tests/unit_tests/document_loaders/test_imports.py index 4cd44c3a97e..8cefb163683 100644 --- a/libs/community/tests/unit_tests/document_loaders/test_imports.py +++ b/libs/community/tests/unit_tests/document_loaders/test_imports.py @@ -156,6 +156,7 @@ EXPECTED_ALL = [ "TwitterTweetLoader", "UnstructuredAPIFileIOLoader", "UnstructuredAPIFileLoader", + "UnstructuredCHMLoader", "UnstructuredCSVLoader", "UnstructuredEPubLoader", "UnstructuredEmailLoader",