test_simple_sequential_functionality() — langchain Function Reference
Architecture documentation for the test_simple_sequential_functionality() function in test_sequential.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD e22bc31a_8b34_ff23_0a96_5e311d4abfa1["test_simple_sequential_functionality()"] 0021bb47_51ab_bafd_26b4_c2849000554a["test_sequential.py"] e22bc31a_8b34_ff23_0a96_5e311d4abfa1 -->|defined in| 0021bb47_51ab_bafd_26b4_c2849000554a style e22bc31a_8b34_ff23_0a96_5e311d4abfa1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/tests/unit_tests/chains/test_sequential.py lines 198–205
def test_simple_sequential_functionality() -> None:
"""Test simple sequential functionality."""
chain_1 = FakeChain(input_variables=["foo"], output_variables=["bar"])
chain_2 = FakeChain(input_variables=["bar"], output_variables=["baz"])
chain = SimpleSequentialChain(chains=[chain_1, chain_2])
output = chain({"input": "123"})
expected_output = {"output": "123foofoo", "input": "123"}
assert output == expected_output
Domain
Subdomains
Source
Frequently Asked Questions
What does test_simple_sequential_functionality() do?
test_simple_sequential_functionality() is a function in the langchain codebase, defined in libs/langchain/tests/unit_tests/chains/test_sequential.py.
Where is test_simple_sequential_functionality() defined?
test_simple_sequential_functionality() is defined in libs/langchain/tests/unit_tests/chains/test_sequential.py at line 198.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free