runnables() — langchain Function Reference
Architecture documentation for the runnables() function in fallbacks.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 79a68cbb_c2a5_6009_0d27_d15faa2aa081["runnables()"] da856a55_079e_fd91_47d6_928251e6cee3["RunnableWithFallbacks"] 79a68cbb_c2a5_6009_0d27_d15faa2aa081 -->|defined in| da856a55_079e_fd91_47d6_928251e6cee3 style 79a68cbb_c2a5_6009_0d27_d15faa2aa081 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/langchain_core/runnables/fallbacks.py lines 156–163
def runnables(self) -> Iterator[Runnable[Input, Output]]:
"""Iterator over the `Runnable` and its fallbacks.
Yields:
The `Runnable` then its fallbacks.
"""
yield self.runnable
yield from self.fallbacks
Domain
Subdomains
Source
Frequently Asked Questions
What does runnables() do?
runnables() is a function in the langchain codebase, defined in libs/core/langchain_core/runnables/fallbacks.py.
Where is runnables() defined?
runnables() is defined in libs/core/langchain_core/runnables/fallbacks.py at line 156.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free