langflow/src/backend/tests/unit
Gabriel Luiz Freitas Almeida 149c96d26c
feat: add function to create input schema from component inputs (#3411)
* feat: Add function to create input schema from list of input types.

* feat: Add unit tests for creating input schemas.

* refactor(io): Improve input schema creation logic.

* refactor(schema): Simplify eval call in create_input_schema function.

* fix: Change ValueError to TypeError in create_input_schema to reflect correct exception.

* refactor: refactor create_input_schema to accept a list of input instances.
2024-08-19 09:36:05 -07:00
..
api feat: centralize global variable management (#3284) 2024-08-13 13:32:57 +00:00
components/prompts refactor: enhance CustomComponent class and updates tests (#3201) 2024-08-05 19:55:29 +00:00
custom/custom_component feat: add possibility to initialize the Graph with components (#3134) 2024-08-05 14:26:13 +00:00
exceptions feat: Add suggestion message to API exception response (#3149) 2024-08-07 15:26:24 +00:00
graph fix(edge): Handle invalid input types when creating TargetHandle (#3368) 2024-08-16 07:52:43 -07:00
initial_setup/starter_projects feat: get result from output if possible (#3338) 2024-08-15 16:44:06 +00:00
inputs fix: update type to silence warning and memory chatbot json (#3265) 2024-08-09 16:01:25 +00:00
io feat: add function to create input schema from component inputs (#3411) 2024-08-19 09:36:05 -07:00
schema fix: update message reload and update langchain-core (#3054) 2024-07-30 13:54:51 +00:00
services/variable feat: add functions to detect cycles in Graph (#3327) 2024-08-14 16:14:56 +00:00
utils bugfix: parse password on db connection string when it has @ on It (#3173) 2024-08-05 09:15:33 -03:00
__init__.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_api_key.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_cache.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_chat_endpoint.py feat: ui build in one single http request (#3020) 2024-08-02 06:53:34 -07:00
test_cli.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_custom_component.py feat: import Graph without position information (#3203) 2024-08-07 07:04:48 -07:00
test_custom_component_with_client.py feat: start using dev mode flag and add exception filter in logger (#3260) 2024-08-09 13:59:49 +00:00
test_data_class.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_data_components.py feat: add starter project graphs (#3369) 2024-08-16 12:47:19 -07:00
test_database.py fix: change ValueError into Warning to allow disconnected flows to run and other small fixes (#3249) 2024-08-08 20:21:21 +00:00
test_experimental_components.py feat: expose main_version on /version endpoint (#2944) 2024-07-26 13:56:18 +02:00
test_files.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_frontend_nodes.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_helper_components.py refactor: update code references to use _code instead of code (#3113) 2024-07-31 18:23:34 +00:00
test_initial_setup.py fix: starter projects refresh don't add new fields (#3110) 2024-07-31 13:43:00 +00:00
test_kubernetes_secrets.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_loading.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_logger.py feat: start using dev mode flag and add exception filter in logger (#3260) 2024-08-09 13:59:49 +00:00
test_login.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_messages.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_process.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_setup_superuser.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_telemetry.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_template.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_validate_code.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_version.py feat: expose main_version on /version endpoint (#2944) 2024-07-26 13:56:18 +02:00