Skip to content

Commit

Permalink
Cache RunnableLambda deps
Browse files Browse the repository at this point in the history
  • Loading branch information
cbornet committed Jan 16, 2025
1 parent c55af44 commit e1e22d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/core/langchain_core/runnables/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -4461,7 +4461,7 @@ def get_output_schema(
module_name=module,
)

@property
@functools.cached_property
def deps(self) -> list[Runnable]:
"""The dependencies of this Runnable.
Expand Down

0 comments on commit e1e22d6

Please sign in to comment.