From 92640834fa016273d475a1d53e862e155baa4caf Mon Sep 17 00:00:00 2001 From: Cristhian Zanforlin Lousa Date: Fri, 7 Feb 2025 09:07:19 -0300 Subject: [PATCH] feat: rename MergeData to CombineData component (#6167) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ✨ (processing): Rename MergeDataComponent to CombineDataComponent for better clarity and consistency in naming conventions. Add CombineDataComponent to handle different data combination operations like concatenation, appending, merging, and joining. * [autofix.ci] apply automated fixes * ♻️ (combine_data.py): refactor class name from CombineDataComponent to MergeDataComponent for better clarity and consistency with the operation performed * ✨ (processing): Rename CombineDataComponent to MergeDataComponent for better clarity and consistency 📝 (processing): Add new MergeDataComponent to combine data using different operations like Concatenate, Append, Merge, and Join * ♻️ (processing/__init__.py): refactor CombineDataComponent to MergeDataComponent for better naming consistency and clarity * ✨ (processing/__init__.py): rename merge_data module to combine_text for better clarity and consistency --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Gabriel Luiz Freitas Almeida --- src/backend/base/langflow/components/processing/merge_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/base/langflow/components/processing/merge_data.py b/src/backend/base/langflow/components/processing/merge_data.py index 31d338c35b8c..cc6c346ec595 100644 --- a/src/backend/base/langflow/components/processing/merge_data.py +++ b/src/backend/base/langflow/components/processing/merge_data.py @@ -16,7 +16,7 @@ class DataOperation(str, Enum): class MergeDataComponent(Component): - display_name = "Data Combiner" + display_name = "Combine Data" description = "Combines data using different operations" icon = "merge" MIN_INPUTS_REQUIRED = 2