Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Feb 6, 2025
1 parent b969cba commit 6a4483d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/backend/base/langflow/graph/vertex/vertex_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 6a4483d

Please sign in to comment.