langflow/tests
Gabriel Luiz Freitas Almeida b0308336c2
Fix State Service not loading when using load_flow_from_json (#1661)
* Refactor test_loading.py to improve code readability and maintainability

* Refactor code in test_template.py, __main__.py, and utils.py to improve code readability and maintainability

* Fix logger.configure() to disable logging when disable flag is True

* Refactor validate_icon function to use emoji library for emoji validation in model.py

* Refactor import statements in base.py files to improve code organization and maintainability

* Refactor state_manager.py to handle error when getting state service and use InMemoryStateService as fallback

* Refactor load_flow_from_json function in load.py to configure logs and load services

* Add test_run_flow_from_json_object function to test_loading.py

* Refactor langflow.processing.process.py and langflow.schema.graph.py

* Set all streaming to false in run_flow_from_json function

* Refactor import statements in base.py files to improve code organization and maintainability

* Refactor arun function in base.py to handle event loop and async execution

* Add docstring to run_flow_from_json

* Refactor import statements in base.py files to use logger in langflow interface

* Refactor build method in ChatOutput and TextInput classes to use build_with_record

* Refactor import statements in base.py files to improve code organization and maintainability

* Refactor import statements in PythonREPLTool.py for improved code organization and maintainability

* Refactor build method in TextOutput class to include optional record_template parameter

* Refactor build method in ChatComponent class to include build_no_record method

* Refactor input_value parameter in TextInput build method to use Text type

* Refactor import statements in FlowTool.py for improved code organization and maintainability

* Bump langflow-base version to 0.0.25 and add asyncer dependency

* Refactor code in multiple files for improved organization and maintainability

* Refactor import statements in multiple files for improved code organization and maintainability
2024-04-10 11:56:37 -03: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 Fix State Service not loading when using load_flow_from_json (#1661) 2024-04-10 11:56:37 -03:00
test_api_key.py 1.0 Alpha (#1599) 2024-04-04 02:46:44 -03:00
test_cache.py 1.0 Alpha (#1599) 2024-04-04 02:46:44 -03:00
test_cache_manager.py Change all Services names from Manager to Service 2023-09-15 17:41:39 -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 various issues and refactor code (#1647) 2024-04-09 01:02:56 -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 Fix various issues and refactor code (#1647) 2024-04-09 01:02:56 -03:00
test_helper_components.py 1.0 Alpha (#1599) 2024-04-04 02:46:44 -03:00
test_initial_setup.py Fix various issues and refactor code (#1647) 2024-04-09 01:02:56 -03:00
test_loading.py Fix State Service not loading when using load_flow_from_json (#1661) 2024-04-10 11:56:37 -03:00
test_login.py 1.0 Alpha (#1599) 2024-04-04 02:46:44 -03:00
test_process.py Fix various issues and refactor code (#1647) 2024-04-09 01:02:56 -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 Fix State Service not loading when using load_flow_from_json (#1661) 2024-04-10 11:56:37 -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