From dde81e195418b181a3cb89b9731ed3b5483b03b2 Mon Sep 17 00:00:00 2001 From: ogabrielluiz Date: Tue, 18 Jun 2024 19:13:37 -0300 Subject: [PATCH] refactor: Update Graph class to include cached results in vertex objects --- src/backend/base/langflow/graph/graph/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/base/langflow/graph/graph/base.py b/src/backend/base/langflow/graph/graph/base.py index 66e9bfa63..86dc74ecf 100644 --- a/src/backend/base/langflow/graph/graph/base.py +++ b/src/backend/base/langflow/graph/graph/base.py @@ -807,6 +807,7 @@ class Graph: # Now set update the vertex with the cached vertex vertex._built = cached_vertex._built vertex.result = cached_vertex.result + vertex.results = cached_vertex.results vertex.artifacts = cached_vertex.artifacts vertex._built_object = cached_vertex._built_object vertex._custom_component = cached_vertex._custom_component