MyOtherRunnable Class — langchain Architecture
Architecture documentation for the MyOtherRunnable class in test_configurable.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD fc61ee28_b232_bf12_3cae_933bf0982932["MyOtherRunnable"] ec7909ee_ece0_2780_95cd_f0c5229fc46d["test_configurable.py"] fc61ee28_b232_bf12_3cae_933bf0982932 -->|defined in| ec7909ee_ece0_2780_95cd_f0c5229fc46d a2109c72_cca3_6787_ce7b_ecb22fdfe774["invoke()"] fc61ee28_b232_bf12_3cae_933bf0982932 -->|method| a2109c72_cca3_6787_ce7b_ecb22fdfe774 349d602b_d814_413d_7db5_ed1bfe947fb3["my_other_custom_function()"] fc61ee28_b232_bf12_3cae_933bf0982932 -->|method| 349d602b_d814_413d_7db5_ed1bfe947fb3 b463d81f_e716_68d2_4720_9728d5bef9ad["my_other_custom_function_w_config()"] fc61ee28_b232_bf12_3cae_933bf0982932 -->|method| b463d81f_e716_68d2_4720_9728d5bef9ad
Relationship Graph
Source Code
libs/core/tests/unit_tests/runnables/test_configurable.py lines 60–74
class MyOtherRunnable(RunnableSerializable[str, str]):
my_other_property: str
@override
def invoke(
self, input: str, config: RunnableConfig | None = None, **kwargs: Any
) -> Any:
return input + self.my_other_property
def my_other_custom_function(self) -> str:
return self.my_other_property
def my_other_custom_function_w_config(self, config: RunnableConfig) -> str:
_ = config
return self.my_other_property
Source
Frequently Asked Questions
What is the MyOtherRunnable class?
MyOtherRunnable is a class in the langchain codebase, defined in libs/core/tests/unit_tests/runnables/test_configurable.py.
Where is MyOtherRunnable defined?
MyOtherRunnable is defined in libs/core/tests/unit_tests/runnables/test_configurable.py at line 60.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free