Home / Function/ test_run_info() — langchain Function Reference

test_run_info() — langchain Function Reference

Architecture documentation for the test_run_info() function in test_base.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  98aad1e9_a9f4_2660_4ec2_c8f9d05b9c34["test_run_info()"]
  cbc5b920_9825_eac5_8cc4_bc8187fb214c["test_base.py"]
  98aad1e9_a9f4_2660_4ec2_c8f9d05b9c34 -->|defined in| cbc5b920_9825_eac5_8cc4_bc8187fb214c
  style 98aad1e9_a9f4_2660_4ec2_c8f9d05b9c34 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/tests/unit_tests/chains/test_base.py lines 85–91

def test_run_info() -> None:
    """Test that run_info is returned properly when specified."""
    chain = FakeChain()
    output = chain({"foo": "bar"}, include_run_info=True)
    assert "foo" in output
    assert "bar" in output
    assert RUN_KEY in output

Domain

Subdomains

Frequently Asked Questions

What does test_run_info() do?
test_run_info() is a function in the langchain codebase, defined in libs/langchain/tests/unit_tests/chains/test_base.py.
Where is test_run_info() defined?
test_run_info() is defined in libs/langchain/tests/unit_tests/chains/test_base.py at line 85.

Analyze Your Own Codebase

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

Try Supermodel Free