langflow/src/backend/tests/unit
Edwin Jose e3cf852307
feat: New parser component with multiple input types and stringify add on (#6652)
* update to parser

* error handling

* solve lint error and added tests

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

* Update parser.py

* fix format errors

* [autofix.ci] apply automated fixes

* refactor: Remove hardcoded name attribute from ParserComponent

* Update src/backend/base/langflow/components/processing/parser.py

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>

* error fix

* [autofix.ci] apply automated fixes

* feat: mark ParserComponent as beta

Added a beta flag to the ParserComponent to indicate its experimental status.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: Ítalo Johnny <italojohnnydosanjos@gmail.com>
Co-authored-by: Rodrigo <rodrigosilvanader@gmail.com>
2025-03-14 12:19:00 +00:00
..
api feat: Needle Search Tool With Template (#6648) 2025-03-14 09:37:54 +00:00
base feat: Needle Search Tool With Template (#6648) 2025-03-14 09:37:54 +00:00
components feat: New parser component with multiple input types and stringify add on (#6652) 2025-03-14 12:19:00 +00:00
custom fix: Fix crashes and enhance test reliability with session IDs (#6683) 2025-02-26 19:54:40 +00:00
events ref: Some ruff fixes from preview (#5420) 2024-12-28 21:25:35 +00:00
exceptions ref: Some ruff fixes from preview (#5420) 2024-12-28 21:25:35 +00:00
graph feat: Needle Search Tool With Template (#6648) 2025-03-14 09:37:54 +00:00
helpers feat: Needle Search Tool With Template (#6648) 2025-03-14 09:37:54 +00:00
initial_setup Feat: add a support for OpenSearch and AstraDB components to yield the langchain vector_store connection object (#6998) 2025-03-12 00:41:34 +00:00
inputs feat: Needle Search Tool With Template (#6648) 2025-03-14 09:37:54 +00:00
io ref: Some ruff fixes from preview (#5420) 2024-12-28 21:25:35 +00:00
schema feat: add support to accept Dataframe as input to split text, and added relevant tests (#6302) 2025-02-19 20:40:56 +00:00
serialization feat: Needle Search Tool With Template (#6648) 2025-03-14 09:37:54 +00:00
services fix: changed serializations to use serialize function to not compromise json structure (#6673) 2025-02-17 21:45:44 +00:00
utils refactor: Implement unified serialization function (#6044) 2025-02-03 15:12:03 +00:00
__init__.py refactor: improve maintainability and testability of Vertex.build_params (#5808) 2025-03-11 15:34:15 +00:00
build_utils.py feat: add functionality to stream or poll events from the build process (#5940) 2025-02-18 14:24:39 +00:00
mock_language_model.py feat: Needle Search Tool With Template (#6648) 2025-03-14 09:37:54 +00:00
test_api_key.py ref: Add ALL ruff rules for tests (#4183) 2024-10-19 20:41:37 +00:00
test_chat_endpoint.py fix: implemented build stop functionality on polling, call cancel endpoint on build cancel (#6815) 2025-02-25 19:11:23 -03:00
test_cli.py refactor: remove unnecessary 'client' fixture and update test durations (#4283) 2024-10-27 14:16:45 +00:00
test_custom_component.py fix: Use relative paths for data files in unit tests (#6021) 2025-01-30 12:34:31 +00:00
test_custom_component_with_client.py ref: Make list_flows async (#5222) 2024-12-12 16:02:43 +00:00
test_data_class.py fix: update data validation in Data model (#6789) 2025-03-05 13:49:23 +00:00
test_database.py feat: Add JSON field extraction and enhanced URL validation (#6051) 2025-03-10 12:28:51 +00:00
test_endpoints.py fix: auth current user on code validation (#6911) 2025-03-05 17:04:03 +00:00
test_experimental_components.py ref: Remove autouse from pytest client fixture (#4158) 2024-10-15 22:55:10 +00:00
test_frontend_nodes.py ref: Auto-fix ruff rules in tests (#4154) 2024-10-16 15:42:36 +00:00
test_helper_components.py feat: Refactor langflow Components - Consolidate Imports, Remove Unused Components, and Update Astra Assistant Icons (#4460) 2024-11-11 19:30:05 +00:00
test_initial_setup.py refactor: Replace async_open by anyio.Path methods in tests (#6847) 2025-02-27 01:00:39 +00:00
test_kubernetes_secrets.py ref: Add ALL ruff rules for tests (#4183) 2024-10-19 20:41:37 +00:00
test_loading.py ref: Make load_flow_from_json async (#5057) 2024-12-11 17:53:33 +00:00
test_logger.py ref: Auto-fix ruff rules in tests (#4154) 2024-10-16 15:42:36 +00:00
test_login.py ref: Remove unused sync session_scope, with_session and engine (#5333) 2024-12-18 20:52:06 +00:00
test_messages.py fix: make sure tests run async (#5842) 2025-01-21 08:16:33 -08:00
test_messages_endpoints.py ref: Remove unused sync session_scope, with_session and engine (#5333) 2024-12-18 20:52:06 +00:00
test_process.py ref: Remove some useless asyncio.to_thread (#5149) 2024-12-08 20:13:08 +01:00
test_schema.py feat: Needle Search Tool With Template (#6648) 2025-03-14 09:37:54 +00:00
test_setup_superuser.py fix: Use AsyncSession for user management (#4491) 2024-11-16 01:09:33 +00:00
test_telemetry.py ref: Some ruff fixes from preview (#5420) 2024-12-28 21:25:35 +00:00
test_template.py feat: Needle Search Tool With Template (#6648) 2025-03-14 09:37:54 +00:00
test_user.py ref: Make initialize_database async (#5163) 2024-12-10 07:44:34 +01:00
test_validate_code.py fix: Ensure importability of modules not included in __init__.py files (#5965) 2025-01-28 12:18:40 +00:00
test_version.py ref: Auto-fix ruff rules in tests (#4154) 2024-10-16 15:42:36 +00:00
test_webhook.py refactor: add graph utility tests and refactor sorting methods (#5538) 2025-01-09 20:15:24 +00:00