From 3f38e1a4575169e3be4cce8eea56efc29d4d70c4 Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Tue, 23 Jan 2024 20:22:37 -0800 Subject: [PATCH] Remove double line (#16426) --- libs/core/langchain_core/runnables/utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/core/langchain_core/runnables/utils.py b/libs/core/langchain_core/runnables/utils.py index 03edb0c2914..cb8f21e29ce 100644 --- a/libs/core/langchain_core/runnables/utils.py +++ b/libs/core/langchain_core/runnables/utils.py @@ -254,7 +254,6 @@ def get_function_nonlocals(func: Callable) -> List[Any]: vv = getattr(vv, part) else: values.append(vv) - values.append(vv) return values except (SyntaxError, TypeError, OSError): return []