Home / File/ test_public_api.py — langchain Source File

test_public_api.py — langchain Source File

Architecture documentation for test_public_api.py, a python file in the langchain codebase. 1 imports, 0 dependents.

File python CoreAbstractions Serialization 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  d2462722_152d_ebcb_7b3e_cf39947a2606["test_public_api.py"]
  8b1bcb08_0cb8_9964_d3bc_711f98537421["langchain_classic.document_loaders.parsers"]
  d2462722_152d_ebcb_7b3e_cf39947a2606 --> 8b1bcb08_0cb8_9964_d3bc_711f98537421
  style d2462722_152d_ebcb_7b3e_cf39947a2606 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

from langchain_classic.document_loaders.parsers import __all__


def test_parsers_public_api_correct() -> None:
    """Test public API of parsers for breaking changes."""
    assert set(__all__) == {
        "BS4HTMLParser",
        "DocAIParser",
        "GrobidParser",
        "LanguageParser",
        "OpenAIWhisperParser",
        "PyPDFParser",
        "PDFMinerParser",
        "PyMuPDFParser",
        "PyPDFium2Parser",
        "PDFPlumberParser",
    }

Subdomains

Dependencies

  • langchain_classic.document_loaders.parsers

Frequently Asked Questions

What does test_public_api.py do?
test_public_api.py is a source file in the langchain codebase, written in python. It belongs to the CoreAbstractions domain, Serialization subdomain.
What functions are defined in test_public_api.py?
test_public_api.py defines 1 function(s): test_parsers_public_api_correct.
What does test_public_api.py depend on?
test_public_api.py imports 1 module(s): langchain_classic.document_loaders.parsers.
Where is test_public_api.py in the architecture?
test_public_api.py is located at libs/langchain/tests/unit_tests/document_loaders/parsers/test_public_api.py (domain: CoreAbstractions, subdomain: Serialization, directory: libs/langchain/tests/unit_tests/document_loaders/parsers).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free