FakeRunnable Class — langchain Architecture
Architecture documentation for the FakeRunnable class in test_runnable.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 9287800d_c4fd_fdba_1bab_2012a61e78d9["FakeRunnable"] 26df6ad8_0189_51d0_c3c1_6c3248893ff5["test_runnable.py"] 9287800d_c4fd_fdba_1bab_2012a61e78d9 -->|defined in| 26df6ad8_0189_51d0_c3c1_6c3248893ff5 fb618d44_c03b_ea8b_385b_2278dfb173d4["invoke()"] 9287800d_c4fd_fdba_1bab_2012a61e78d9 -->|method| fb618d44_c03b_ea8b_385b_2278dfb173d4
Relationship Graph
Source Code
libs/core/tests/unit_tests/runnables/test_runnable.py lines 185–193
class FakeRunnable(Runnable[str, int]):
@override
def invoke(
self,
input: str,
config: RunnableConfig | None = None,
**kwargs: Any,
) -> int:
return len(input)
Source
Frequently Asked Questions
What is the FakeRunnable class?
FakeRunnable is a class in the langchain codebase, defined in libs/core/tests/unit_tests/runnables/test_runnable.py.
Where is FakeRunnable defined?
FakeRunnable is defined in libs/core/tests/unit_tests/runnables/test_runnable.py at line 185.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free