langflow/tests
Gabriel Luiz Freitas Almeida 5c2ab59797
Format code and update langflow version (#1922)
* format

* chore: Bump langflow version to 1.0.0a34 and langflow-base version to 0.0.45

* Fix fallback_to_env_vars type hint

* chore: Add fallback_to_env_vars parameter to run_flow_from_json function

The `run_flow_from_json` function now accepts a new optional parameter `fallback_to_env_vars` which determines whether Global Variables should fallback to environment variables if not found. This change allows for more flexibility in handling variable values.

* chore: Add fallback_to_env_vars parameter to run_flow_from_json function

* chore: Set file path to None when not found in component

This commit modifies the `Vertex` class to set the file path to `None` when it is not found for a required field in a component. This change ensures that the code can handle missing file paths gracefully and avoids raising a `ValueError`.

* chore: Add fallback_to_env_vars parameter to run_flow_from_json function

* new package lock
2024-05-19 19:17:18 -07:00
..
data 1.0 Alpha (#1599) 2024-04-04 02:46:44 -03:00
locust Reapply "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes" 2024-02-05 19:02:34 -03:00
__init__.py feat(tests): add __init__.py and utils.py files to tests directory for test setup and utility functions 2023-09-05 12:24:43 -03:00
conftest.py Format code and update langflow version (#1922) 2024-05-19 19:17:18 -07:00
test_api_key.py Update datetime handling in ApiKey and Variable models (#1673) 2024-04-10 23:04:10 -03:00
test_cache.py 1.0 Alpha (#1599) 2024-04-04 02:46:44 -03:00
test_cli.py 1.0 Alpha (#1599) 2024-04-04 02:46:44 -03:00
test_creators.py 🔧 chore(conftest.py): refactor client fixture to use dependency overrides for session and add session fixture for creating a session with an in-memory SQLite database 2023-09-22 11:03:17 -03:00
test_custom_component.py Add PythonREPLToolComponent to tools/__init__.py and create PythonREPLTool.py (#1639) 2024-04-08 16:51:03 -03:00
test_custom_types.py 1.0 Alpha (#1599) 2024-04-04 02:46:44 -03:00
test_data_components.py Fix various issues and refactor code (#1647) 2024-04-09 01:02:56 -03:00
test_database.py 1.0 Alpha (#1599) 2024-04-04 02:46:44 -03:00
test_endpoints.py Fix mark_branch function and refactor build_and_cache_graph_from_db function (#1833) 2024-05-03 18:23:41 -03:00
test_files.py 1.0 Alpha (#1599) 2024-04-04 02:46:44 -03:00
test_frontend_nodes.py Refactor imports and update function names 2024-01-25 16:17:40 -03:00
test_graph.py Format code and update langflow version (#1922) 2024-05-19 19:17:18 -07:00
test_helper_components.py 1.0 Alpha (#1599) 2024-04-04 02:46:44 -03:00
test_initial_setup.py Update datetime handling in ApiKey and Variable models (#1673) 2024-04-10 23:04:10 -03:00
test_loading.py Update langflow base prompts API utils (#1682) 2024-04-11 12:47:31 -03:00
test_login.py Update datetime handling in ApiKey and Variable models (#1673) 2024-04-10 23:04:10 -03:00
test_process.py Fix various issues and refactor code (#1671) 2024-04-10 22:40:21 -03:00
test_record.py 1.0 Alpha (#1599) 2024-04-04 02:46:44 -03:00
test_setup_superuser.py 1.0 Alpha (#1599) 2024-04-04 02:46:44 -03:00
test_template.py Changes default location for the database and adds the option to use the previous behavior (#1907) 2024-05-15 20:41:01 -03:00
test_user.py 1.0 Alpha (#1599) 2024-04-04 02:46:44 -03:00
test_validate_code.py formatting 2023-03-31 14:06:40 -03:00
text_experimental_components.py 1.0 Alpha (#1599) 2024-04-04 02:46:44 -03:00
utils.py 🐛 fix(basic_example.json): change value of "value" key from "abc" to null to remove hardcoded value and improve flexibility 2023-09-22 11:06:25 -03:00