From 6a4483d0ffd2f59381cdfc60933cdf79c8e71484 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Thu, 6 Feb 2025 14:34:33 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- src/backend/base/langflow/graph/vertex/vertex_types.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/backend/base/langflow/graph/vertex/vertex_types.py b/src/backend/base/langflow/graph/vertex/vertex_types.py index 25b9f5ee5ed6..b8e3e2bc846c 100644 --- a/src/backend/base/langflow/graph/vertex/vertex_types.py +++ b/src/backend/base/langflow/graph/vertex/vertex_types.py @@ -103,8 +103,11 @@ async def _get_result(self, requester: Vertex, target_handle_name: str | None = # We need to check if the edge is a normal edge # Get default value based on edge type if edge.is_cycle and edge.target_param: - default_value = (None if edge.target_param in requester.output_names - else requester.get_value_from_template_dict(edge.target_param)) + default_value = ( + None + if edge.target_param in requester.output_names + else requester.get_value_from_template_dict(edge.target_param) + ) else: default_value = requester.get_value_from_template_dict(target_handle_name)