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