test_alias_set_configurable() — langchain Function Reference
Architecture documentation for the test_alias_set_configurable() function in test_configurable.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD aa17eb1b_7c99_ad9a_1369_cd6ab8c7396b["test_alias_set_configurable()"] ec7909ee_ece0_2780_95cd_f0c5229fc46d["test_configurable.py"] aa17eb1b_7c99_ad9a_1369_cd6ab8c7396b -->|defined in| ec7909ee_ece0_2780_95cd_f0c5229fc46d 881be650_c38e_3e60_74cf_8cdfc48f60b9["invoke()"] aa17eb1b_7c99_ad9a_1369_cd6ab8c7396b -->|calls| 881be650_c38e_3e60_74cf_8cdfc48f60b9 style aa17eb1b_7c99_ad9a_1369_cd6ab8c7396b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/tests/unit_tests/runnables/test_configurable.py lines 91–106
def test_alias_set_configurable() -> None:
runnable = MyRunnable(my_property="a")
configurable_runnable = runnable.configurable_fields(
my_property=ConfigurableField(
id="my_property_alias",
name="My property alias",
description="The property to test alias",
)
)
assert (
configurable_runnable.invoke(
"d", config=RunnableConfig(configurable={"my_property_alias": "c"})
)
== "dc"
)
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does test_alias_set_configurable() do?
test_alias_set_configurable() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/runnables/test_configurable.py.
Where is test_alias_set_configurable() defined?
test_alias_set_configurable() is defined in libs/core/tests/unit_tests/runnables/test_configurable.py at line 91.
What does test_alias_set_configurable() call?
test_alias_set_configurable() calls 1 function(s): invoke.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free