langflow/tests/unit
Rodrigo 513f157a1b feat: Add CreateListComponent for creating a list of texts
This commit adds a new component called CreateListComponent, which is responsible for creating a list of texts. The component takes in one or more texts as input and outputs a list of Data objects. This component is useful for scenarios where a list of texts needs to be processed or manipulated.

The CreateListComponent class is added to the helpers module in the langflow.components package. It includes the necessary inputs and outputs, as well as a create_list method that generates the list of Data objects based on the input texts.

This commit also includes some minor changes to other files, such as renaming the UUIDGeneratorComponent to IDGeneratorComponent and updating import statements.
2024-06-28 11:02:24 -03:00
..
__init__.py test: add astra integration test (#2189) 2024-06-15 19:50:38 -07:00
test_api_key.py test: add astra integration test (#2189) 2024-06-15 19:50:38 -07:00
test_cache.py test: add astra integration test (#2189) 2024-06-15 19:50:38 -07:00
test_cli.py test: add astra integration test (#2189) 2024-06-15 19:50:38 -07:00
test_custom_component.py (test_custom_component.py): update test_custom_component_get_function_entrypoint_args to reflect correct number of arguments in build method 2024-06-18 22:41:57 -03:00
test_data_class.py refactor: Rename test_record.py to test_data_class.py and update imports and references accordingly 2024-06-20 21:27:37 -03:00
test_data_components.py refactor: Update test_data_components.py to assert file_dict instead of result.text in test_directory_without_mocks 2024-06-21 15:46:17 -03:00
test_database.py fix: "Flow" object has no field "last_tested_version" when loading flows from dir (#2221) 2024-06-19 18:15:50 +02:00
test_files.py test: add astra integration test (#2189) 2024-06-15 19:50:38 -07:00
test_frontend_nodes.py merge dev into two_edges 2024-06-17 10:01:28 -03:00
test_graph.py test: add astra integration test (#2189) 2024-06-15 19:50:38 -07:00
test_helper_components.py feat: Add CreateListComponent for creating a list of texts 2024-06-28 11:02:24 -03:00
test_initial_setup.py refactor: Rename test_record.py to test_data_class.py and update imports and references accordingly 2024-06-20 21:27:37 -03:00
test_kubernetes_secrets.py mock kube-config 2024-06-21 20:55:42 -07:00
test_loading.py ci: skip test run_flow_from_json_object (#2227) 2024-06-19 11:11:59 -04:00
test_login.py test: add astra integration test (#2189) 2024-06-15 19:50:38 -07:00
test_messages.py Refactor test_get_messages function to use list comprehension 2024-06-26 17:28:45 -03:00
test_process.py test: add astra integration test (#2189) 2024-06-15 19:50:38 -07:00
test_setup_superuser.py test: add astra integration test (#2189) 2024-06-15 19:50:38 -07:00
test_template.py Refactor build_template_from_class function to remove unused code and improve readability 2024-06-17 10:55:50 -03:00
test_validate_code.py test: add astra integration test (#2189) 2024-06-15 19:50:38 -07:00
text_experimental_components.py test: add astra integration test (#2189) 2024-06-15 19:50:38 -07:00