The test_cli.py file had some unused imports and test cases that were not being used. This commit removes those unused imports and test cases to improve code cleanliness and maintainability.
🔀 refactor(interface/custom/custom_component.py): update import statement for session_getter in custom_component.py to reflect new location in utils module
🔀 refactor(main.py): update import statement for initialize_database in main.py to reflect new location in utils module
🔀 refactor(database/factory.py): update import statement for DatabaseManager in factory.py to reflect new location in manager module
This commit removes the FlowStyles table from the database. The table was no longer needed and has been dropped. The corresponding indexes and foreign key constraints have also been removed.
Downgrade functionality has been implemented to recreate the FlowStyles table and its associated indexes and foreign key constraints if needed.
The LoginPage component is added to handle the user login functionality. It includes UI elements such as buttons, icons, and input fields for email address and password. The component also includes a login button and a sign-up button for users who don't have an account.
✨ feat(__main__.py): add support for custom components directory path as an environment variable
✨ feat(__main__.py): set default value for config option to be the config.yaml file in the same directory as the script
✨ feat(__main__.py): add support for specifying an .env file containing environment variables
✨ feat(__main__.py): add backend_only option to run only the backend server without the frontend
🔧 chore(__main__.py): refactor setup_app function to pass backend_only option to the app setup
✨ feat(__main__.py): add check to skip server startup if running in pytest environment
🔧 chore(__main__.py): refactor serve function to improve readability and maintainability
✨ feat(__main__.py): add support for running the server using uvicorn on Windows
🐛 fix(types.py): replace `merge_nested_dicts` with `merge_nested_dicts_with_renaming` in `build_langchain_custom_component_list_from_path` function to fix a bug
🐛 fix(factory.py): raise ValueError if no database URL provided in settings
🐛 fix(manager.py): change return type annotation of load_settings_from_yaml method to "SettingsManager" instead of "Settings"
🐛 fix(utils.py): import service_manager and ServiceType to fix NameError
🔧 chore(__main__.py): remove unused import of settings module from langflow.settings package to clean up code
🔧 chore(__main__.py): update references to settings object to use settings_manager.settings for better encapsulation and modularity
🔧 fix(test_prompts_template.py): update import statement to use get_settings_manager function from langflow.services.utils module
🔧 fix(test_vectorstore_template.py): update import statement to use get_settings_manager function from langflow.services.utils module
🔧 fix(test_llms_template.py): update assertion to use settings from settings_manager instead of settings module
🔧 fix(test_prompts_template.py): update assertion to use settings from settings_manager instead of settings module
🔧 fix(test_vectorstore_template.py): update assertion to use settings from settings_manager instead of settings module
🔧 fix(test_cache_manager.py): fix import path for CacheManager in test_cache_manager.py file
🔧 fix(test_custom_component.py): fix import path for Flow and FlowCreate models in test_custom_component.py file
🔧 fix(test_database.py): fix import path for Flow, FlowCreate, and FlowUpdate models in test_database.py file
🔧 fix(test_websocket.py): fix import path for WebSocketDisconnect in test_websocket.py file
📄 feat(settings/__init__.py): add __init__.py file to expose factory and manager modules
📄 feat(settings/base.py): add base settings class with default values and validators
📄 feat(settings/factory.py): add factory class for creating and configuring a SettingsManager
📄 feat(settings/manager.py): add manager class for loading settings from YAML file and initializing SettingsManager
📦 chore(settings.py): add settings.py file to the backend/langflow/services/settings directory
✨ feat(settings.py): add support for loading settings from a YAML file and updating settings from keyword arguments
🔒 chore(settings.py): add validation and logging to the settings module for improved reliability and debugging
🔧 chore(settings.py): add utility functions for saving and loading settings from a YAML file
📝 chore(chat): add ChatConfig class to handle chat configuration
📝 chore(chat): add ChatManagerFactory class to create and configure ChatManager
📝 chore(chat): add ChatManager class to handle chat functionality
📝 chore(chat): add ChatHistory class to manage chat history
📝 chore(chat): add process_graph function to process chat inputs and generate result and thought