langchain/libs/community/tests/unit_tests/document_loaders
Leonid Ganeline dc7c06bc07
community[minor]: import fix (#20995)
Issue: When the third-party package is not installed, whenever we need
to `pip install <package>` the ImportError is raised.
But sometimes, the `ValueError` or `ModuleNotFoundError` is raised. It
is bad for consistency.
Change: replaced the `ValueError` or `ModuleNotFoundError` with
`ImportError` when we raise an error with the `pip install <package>`
message.
Note: Ideally, we replace all `try: import... except... raise ... `with
helper functions like `import_aim` or just use the existing
[langchain_core.utils.utils.guard_import](https://api.python.langchain.com/en/latest/utils/langchain_core.utils.utils.guard_import.html#langchain_core.utils.utils.guard_import)
But it would be much bigger refactoring. @baskaryan Please, advice on
this.
2024-04-29 10:32:50 -04:00
..
blob_loaders
loaders
parsers community: Add PHP language parser to document_loaders (#19850) 2024-04-08 11:30:28 -04:00
sample_documents
test_docs
__init__.py
test_airbyte.py
test_arcgis_loader.py
test_assemblyai.py Merge pull request #18421 2024-03-06 13:16:05 -05:00
test_bibtex.py
test_bshtml.py
test_confluence.py Merge pull request #18436 2024-03-06 13:15:24 -05:00
test_couchbase.py
test_csv_loader.py
test_cube_semantic.py
test_detect_encoding.py
test_directory_loader.py infra: test directory loader multithreaded (#20281) 2024-04-26 19:16:47 -07:00
test_directory.py community[minor]: Implement DirectoryLoader lazy_load function (#19537) 2024-03-29 14:46:52 +00:00
test_evernote_loader.py
test_generic_loader.py
test_git.py
test_github.py community[patch]: Change github endpoint in GithubLoader (#17622) 2024-03-01 09:36:31 -08:00
test_hugging_face_model.py community[minor]: add hugging_face_model document loader (#17323) 2024-02-28 20:05:35 +00:00
test_hugging_face.py
test_imports.py community: Spider integration (#20937) 2024-04-27 21:45:03 +00:00
test_json_loader.py community[minor]: use jq schema for content_key in json_loader (#18003) 2024-03-05 15:51:24 -08:00
test_lakefs.py community[minor]: import fix (#20995) 2024-04-29 10:32:50 -04:00
test_mediawikidump.py infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
test_mhtml.py
test_mongodb.py
test_notebook.py community[patch]: add NotebookLoader unit test (#17721) 2024-03-29 00:27:46 +00:00
test_obsidian.py
test_onenote.py
test_oracleadb.py community[minor]: add oracle autonomous database doc loader integration (#19536) 2024-03-26 17:02:18 -07:00
test_pebblo.py community[minor]: Add support for Pebblo cloud_api_key in PebbloSafeLoader (#19855) 2024-04-08 11:10:04 -04:00
test_psychic.py
test_readthedoc.py
test_rspace_loader.py
test_rss.py
test_trello.py
test_web_base.py
test_youtube.py