test_with_config_with_config() — langchain Function Reference
Architecture documentation for the test_with_config_with_config() function in test_runnable.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 72352f3c_a29f_dc90_23ad_7a1d2639175f["test_with_config_with_config()"] 26df6ad8_0189_51d0_c3c1_6c3248893ff5["test_runnable.py"] 72352f3c_a29f_dc90_23ad_7a1d2639175f -->|defined in| 26df6ad8_0189_51d0_c3c1_6c3248893ff5 style 72352f3c_a29f_dc90_23ad_7a1d2639175f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/tests/unit_tests/runnables/test_runnable.py lines 3465–3470
def test_with_config_with_config() -> None:
llm = FakeListLLM(responses=["i'm a textbot"])
assert dumpd(
llm.with_config({"metadata": {"a": "b"}}).with_config(tags=["a-tag"])
) == dumpd(llm.with_config({"metadata": {"a": "b"}, "tags": ["a-tag"]}))
Domain
Subdomains
Source
Frequently Asked Questions
What does test_with_config_with_config() do?
test_with_config_with_config() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/runnables/test_runnable.py.
Where is test_with_config_with_config() defined?
test_with_config_with_config() is defined in libs/core/tests/unit_tests/runnables/test_runnable.py at line 3465.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free