langflow/tests
Matheus Jacques 8172e62236
Split Langflow into Langflow and Langflow Base (#1562)
* Initial Restructure

* Replace import langflow for import langflow_base

* Fix dependencies

* 🔧 chore(Makefile): refactor build process to separate base and frontend builds for better organization and maintainability

* 🚀 chore(Makefile): update build_frontend command to copy frontend build to the correct directory
🔖 chore(pyproject.toml): update python and httpx dependencies versions
🔧 chore(__init__.py): update import statement for load_flow_from_json function

* 🔖 chore(pyproject.toml): update package version from 0.0.6 to 0.0.8 to reflect changes in the codebase

* 🚀 feat(server.ts): change port variable case from lowercase port to uppercase PORT to improve semantics
🚀 feat(server.ts): add support for process.env.PORT environment variable to be able to run app on a configurable port

* 🐛 fix(server.ts): change port variable case from lowercase port to uppercase PORT to improve semantics
 feat(server.ts): add support for process.env.PORT environment variable to be able to run app on a configurable port
🚚 chore(pyproject.toml): update langflow-base version from 0.0.8 to 0.0.10
 feat(server.ts): add new agent component LCAgentComponent to langflow_base
 feat(server.ts): add new model component LCModelComponent to langflow_base
 feat(server.ts): add new helper functions docs_to_records and records_to_text to langflow_base
 feat(server.ts): add new flow helper functions list_flows, load_flow, run_flow, generate_function_for_flow, get_flow_inputs, build_schema_from_inputs to langflow_base
 feat(server.ts): add new prompt component PromptComponent to langflow_base
 feat(server.ts): add new chat components ChatInput and ChatOutput to langflow_base
 feat(server.ts): add new model component OpenAIModelComponent to langflow_base
🚚 chore(main.py): update import path from langflow.main to langflow_base.main
🚚 chore(service.py): update import path from langflow.services.database.manager to langflow_base.services.database.manager
🚚 chore(factory.py): update import path from langflow.services to langflow_base.services
🚚 chore(service.py): update import path from langflow.services.plugins to langflow_base.services.plugins
🚚 chore(utils.py): update import path from langflow.services to langflow_base.services
🚚 chore(validate.py): update import path from langflow.field_typing to langflow_base.field_typing
🚚 chore(pyproject.toml): update langflow-base version from 0.0.8 to 0.0.10

* Update Makefile to install backend dependencies and build langflow

* Add langflow main module and update __init__.py

* Update langflow install process to use implicit namespace

* Add langflow-base as a local dependency

* Add setup_poetry target to Makefile

* Update Poetry version and add poetry-monorepo-dependency-plugin

* Refactor code to improve performance and readability

* Update imports to custom and load

* Update content-hash in poetry.lock

---------

Co-authored-by: Matheus <jacquesmats@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@logspace.ai>
2024-03-26 09:26:30 -03:00
..
data Split Langflow into Langflow and Langflow Base (#1562) 2024-03-26 09:26:30 -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 Add tests to run endpoint 2024-03-22 12:38:37 -03:00
test_api_key.py Formatting 2024-03-08 11:36:32 -03:00
test_cache.py Refactor cache service and fix async issues (#1512) 2024-03-09 22:55:56 -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 Refactor tests and add new test file for data components 2024-03-08 13:43:33 -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 Format 2024-03-08 17:42:22 -03:00
test_custom_types.py Update import statements in test_custom_types.py 2024-02-09 08:47:22 -03:00
test_data_components.py Refactor cache service and fix async issues (#1512) 2024-03-09 22:55:56 -03:00
test_database.py Format 2024-03-08 17:42:22 -03:00
test_endpoints.py Add tests to run endpoint 2024-03-22 12:38:37 -03:00
test_files.py Format 2024-03-08 17:42:22 -03:00
test_frontend_nodes.py Refactor imports and update function names 2024-01-25 16:17:40 -03:00
test_graph.py Add test for build ordering in complex graph 2024-03-20 16:16:30 -03:00
test_helper_components.py Refactor App component and update test_helper_components.py 2024-03-11 18:00:53 -03:00
test_initial_setup.py Formatting 2024-03-08 11:36:32 -03:00
test_loading.py Refactor tests and add new test file for data components 2024-03-08 13:43:33 -03:00
test_login.py Refactor login tests and import statements 2024-01-25 16:17:13 -03:00
test_process.py Format 2024-03-08 17:42:22 -03:00
test_setup_superuser.py Format 2024-03-08 17:42:22 -03:00
test_template.py Reapply "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes" 2024-02-05 19:02:34 -03:00
test_user.py Refactor user tests and fix error handling 2024-01-25 16:16:15 -03:00
test_validate_code.py formatting 2023-03-31 14:06:40 -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