refactor: Update output types in setup.py

The output types in the setup.py file have been updated to reflect the changes made in the source node's output types. This ensures consistency and accuracy in the data flow.

Note: The commit message has been generated based on the provided code changes and recent commits.
This commit is contained in:
ogabrielluiz 2024-06-10 11:39:49 -03:00
commit 8848360845
7 changed files with 8275 additions and 8329 deletions

View file

@ -190,16 +190,16 @@ def update_edges_with_latest_component_versions(project_data):
if source_node and target_node:
source_node_data = source_node.get("data").get("node")
target_node_data = target_node.get("data").get("node")
new_base_classes = source_node_data.get("base_classes")
if source_handle["baseClasses"] != new_base_classes:
new_output_types = source_node_data.get("output_types")
if source_handle["output_types"] != new_output_types:
edge_changes_log[source_node_data["display_name"]].append(
{
"attr": "baseClasses",
"old_value": source_handle["baseClasses"],
"new_value": new_base_classes,
"attr": "output_types",
"old_value": source_handle["output_types"],
"new_value": new_output_types,
}
)
source_handle["baseClasses"] = new_base_classes
source_handle["output_types"] = new_output_types
field_name = target_handle.get("fieldName")
if field_name in target_node_data.get("template"):

File diff suppressed because one or more lines are too long