Commit graph

5,021 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
4aaeda8aa8 🔥 refactor(main.py): remove unused import and initialize_database function call to improve code cleanliness and remove unnecessary database initialization
🔥 refactor(main.py): remove initialize_database function call from app startup event to improve code cleanliness and remove unnecessary database initialization
🔥 refactor(base.py): remove unused teardown method and add set_ready method to improve code cleanliness and provide a way to set service readiness
2023-09-20 18:44:39 -03:00
Gabriel Luiz Freitas Almeida
f5c20ac166 🐛 fix(manager.py): call set_ready() method on the created service to indicate it is ready
🐛 fix(auth.py): validate superuser and superuser_password fields if AUTO_LOGIN is true
 feat(utils.py): add initialize_database() function to initialize the database connection
 feat(utils.py): call initialize_database() before setting up the superuser if the database manager is ready
2023-09-20 18:42:52 -03:00
Gabriel Luiz Freitas Almeida
4bfbb8d3aa 🔧 fix(conftest.py): remove unused imports and commented out code to improve code readability and maintainability
 feat(conftest.py): add support for LANGFLOW_AUTO_LOGIN environment variable to enable auto login during testing
2023-09-20 18:42:18 -03:00
Gabriel Luiz Freitas Almeida
2db9fa8ce8 🔧 chore(Makefile): add install_backend target to tests target to ensure backend dependencies are installed before running tests 2023-09-20 18:41:41 -03:00
Gabriel Luiz Freitas Almeida
20e14d49b4 🐛 fix(test_database.py): remove unused imports to improve code readability
 feat(test_database.py): add support for session management using session_getter to improve code organization and maintainability
🐛 fix(test_endpoints.py): remove unused imports to improve code readability
 feat(test_endpoints.py): add support for session management using session_getter to improve code organization and maintainability
🐛 fix(test_login.py): remove unused imports to improve code readability
 feat(test_login.py): add support for session management using session_getter to improve code organization and maintainability
2023-09-20 18:40:19 -03:00
Gabriel Luiz Freitas Almeida
b441d42559 🐛 fix(test_setup_superuser.py): fix test_setup_superuser to correctly assert the number of calls to mock_create_super_user
 feat(test_setup_superuser.py): add support for testing the creation of superuser with different credentials
2023-09-20 18:36:12 -03:00
Gabriel Luiz Freitas Almeida
b4f48f1ad9 🔧 fix(test_user.py): update imports to match changes in project structure
🔧 fix(test_user.py): update fixtures to use session_getter and get_db_manager functions for session management
 feat(test_user.py): add support for creating and managing database sessions using session_getter and get_db_manager functions
🔧 fix(test_user.py): update test_user_waiting_for_approval function to use session_getter and get_db_manager functions for session management
🔧 fix(test_user.py): update test_data_consistency_after_delete function to use session_getter and get_db_manager functions for session management
🔧 fix(test_user.py): update test_inactive_user function to use session_getter and get_db_manager functions for session management
2023-09-20 18:35:38 -03:00
Gabriel Luiz Freitas Almeida
7733904378 Merge remote-tracking branch 'origin/dev' into add_cli_options_superuser 2023-09-20 16:16:52 -03:00
Gabriel Luiz Freitas Almeida
aa4eca7ef1 🔧 chore(utils.py): remove redundant setup_superuser() call in initialize_session_manager() function
🔧 chore(utils.py): move setup_superuser() call to initialize_services() function for better organization and readability
2023-09-20 14:56:09 -03:00
Gabriel Luiz Freitas Almeida
82469752f8 🔧 fix(tests/conftest.py): remove unused imports and commented out code
🔧 fix(tests/conftest.py): remove unused fixture 'client'
🔧 fix(tests/conftest.py): remove unused import of 'langflow.main.create_app'
🔧 fix(tests/conftest.py): remove unused fixture 'client_fixture'
🔧 fix(tests/conftest.py): remove unused import of 'langflow.services.database.manager.DatabaseManager'
🔧 fix(tests/conftest.py): remove unused import of 'typer.testing.CliRunner'
🔧 fix(tests/conftest.py): remove unused import of 'sqlmodel.SQLModel'
🔧 fix(tests/conftest.py): remove unused import of 'sqlmodel.Session'
🔧 fix(tests/conftest.py): remove unused import of 'sqlmodel.create_engine'
🔧 fix(tests/conftest.py): remove unused import of 'sqlmodel.pool.StaticPool'
🔧 fix(tests/conftest.py): remove unused import of 'tempfile'
🔧 fix(tests/conftest.py): remove unused import of 'Path'
🔧 fix(tests/conftest.py): remove unused import of 'contextmanager'
🔧 fix(tests/test_custom_component.py): remove unused argument 'session_getter' from test functions
🔧 fix(tests/test_custom_component.py): remove unused import of 'db'
🔧 fix(tests/test_custom_component.py): remove unused import of 'Flow'
🔧 fix(tests/test_setup_superuser.py): remove unused import of 'DEFAULT_SUPERUSER_PASSWORD'
🔧 fix(tests/test_setup_superuser.py): remove unused import of 'Mock'
🔧 fix(tests/test_setup_superuser.py): remove unused import of 'User'
🔧 fix(tests/test_setup_superuser.py): remove unused import of 'reset_mock_credentials'
🔧 fix(tests/test_setup_superuser.py): remove unused import of 'mock_create_super_user'
🔧 fix(tests/test_setup_superuser.py): remove unused import of 'setup_superuser'
🔧 fix(tests/test_setup_superuser.py): remove unused import of 'mock_user'
🔧 fix(tests/test_setup_superuser.py): remove unused import of 'mock_get_session'
🔧 fix(tests/test_setup_superuser.py): remove unused import of 'mock_get_settings_manager'
2023-09-20 14:32:14 -03:00
Gabriel Luiz Freitas Almeida
916dd457e9 ⬆️ chore(pyproject.toml): add pytest-sugar as a development dependency to improve test reporting 2023-09-20 14:31:39 -03:00
Gabriel Luiz Freitas Almeida
f081a0079c Merge remote-tracking branch 'origin/main' into dev 2023-09-19 16:07:39 -03:00
Gabriel Luiz Freitas Almeida
f8b4116b6d
🔖 chore(pyproject.toml): update package version from 0.5.0a0 to 0.5.0a1 for development purposes (#937) 2023-09-19 15:34:02 -03:00
Gabriel Luiz Freitas Almeida
2d9116b388 🔖 chore(pyproject.toml): update package version from 0.5.0a0 to 0.5.0a1 for development purposes 2023-09-19 15:33:05 -03:00
Gabriel Luiz Freitas Almeida
311b0a57e9
Adding Support for Key-Value Pair Objects in Input Flows (#845) 2023-09-19 15:31:24 -03:00
Gabriel Luiz Freitas Almeida
2b454dc645 Formatting 2023-09-19 15:27:12 -03:00
Gabriel Luiz Freitas Almeida
9f7e6f0fa2
Merge branch 'dev' into feat-dict 2023-09-19 15:13:52 -03:00
Gabriel Luiz Freitas Almeida
1e5ef1c8c0 🔥 refactor(test_llms_template.py): remove commented out code and unused import to improve code readability and maintainability 2023-09-19 15:13:03 -03:00
Gabriel Luiz Freitas Almeida
ce35caa59f 🐛 fix(base.py): fix variable name in if condition to correctly check field name for 'dict' type handling 2023-09-19 15:11:36 -03:00
Cristhian Zanforlin Lousa
5bb661dbb3 Merge branch 'feat-dict' of https://github.com/logspace-ai/langflow into feat-dict 2023-09-19 15:03:17 -03:00
Cristhian Zanforlin Lousa
2f63d29ce4 🎨 style(App.css): add padding to the .jv-card class to improve spacing and readability
🔥 refactor(parameterComponent/index.tsx): remove unnecessary code block in the value prop to improve code clarity and maintainability
2023-09-19 15:03:12 -03:00
Gabriel Luiz Freitas Almeida
a9034b6937 📝 docs(custom.mdx): add explanation about the difference between dict and langflow.field_typing.NestedDict types
📝 docs(custom.mdx): clarify that langflow.field_typing.NestedDict opens a more robust dictionary editor compared to dict type
2023-09-19 15:01:40 -03:00
Cristhian Zanforlin Lousa
c9126fdb62 🔀 refactor(parameterComponent): remove unused properties from default parameter value object to improve code readability and maintainability 2023-09-19 14:51:01 -03:00
Cristhian Zanforlin Lousa
fe92ce85f9 🐛 fix(parameterComponent): change default key-value pair in case of empty value to improve clarity
🐛 fix(keypairListComponent): update placeholder text to improve user guidance
2023-09-19 14:42:49 -03:00
Gabriel Luiz Freitas Almeida
e528b1363e 🐛 fix(parameterComponent): add condition to prevent setting state if tabId does not exist in previous state 2023-09-19 14:33:57 -03:00
Gabriel Luiz Freitas Almeida
0389d8ec1e 🐛 fix(documentloaders.py): change value of metadata from string to empty object to fix incorrect type assignment 2023-09-19 14:14:11 -03:00
Gabriel Luiz Freitas Almeida
1243c0b644 🐛 fix(test_llms_template.py): remove unused test_llms_settings function to improve code readability and maintainability
🐛 fix(test_template.py): update type annotation in test_format_dict function to reflect the correct type of the field
🐛 fix(test_prompts_template.py): update type annotation in test_prompt_template function to reflect the correct type of the field
2023-09-19 14:08:12 -03:00
Gabriel Luiz Freitas Almeida
01104e666c 🐛 fix(base.py): refactor handle_dict_type method to improve readability and semantics
 feat(base.py): add support for 'dict' type fields to be handled as 'dict' instead of 'code' or 'file'
🐛 fix(documentloaders.py): change field_type of metadata field to 'dict' instead of 'code'
🐛 fix(embeddings.py): change field_type of model_kwargs field to 'dict' instead of 'code'
🐛 fix(field_formatters.py): refactor DictCodeFileFormatter to handle 'dict' type fields as 'dict' instead of 'code' or 'file'
🐛 fix(prompts.py): call parent format_field method in PromptFrontendNode to ensure proper formatting
🐛 fix(vectorstores.py): change field_type of search_kwargs field to 'NestedDict' instead of 'code'
🐛 fix(util.py): remove unused replace_dict_type_with_code function
2023-09-19 14:07:58 -03:00
Gabriel Luiz Freitas Almeida
738bfa4812 🔨 refactor(PromptRunner.py): remove unused inputs field from the component configuration
🔨 refactor(MetalRetriever.py): remove field_type code from params field in the component configuration
🔨 refactor(GetRequest.py): remove field_type code from headers field in the component configuration
🔨 refactor(PostRequest.py): remove field_type code from headers field in the component configuration
2023-09-19 14:07:13 -03:00
Gabriel Luiz Freitas Almeida
2901fb0e94
fix) Fix combinedMemory (#935) 2023-09-19 13:41:51 -03:00
Gabriel Luiz Freitas Almeida
a63a79d90a 🔥 refactor(test_llms_template.py): remove unused test_llms_settings test case
The test_llms_settings test case is no longer needed as it is not being used and does not provide any value to the test suite. Removing it to improve code cleanliness and maintainability.
2023-09-19 11:30:03 -03:00
Gabriel Luiz Freitas Almeida
f788659278 ⬆️ chore(pyproject.toml): add pytest-sugar as a development dependency to improve test reporting 2023-09-19 11:29:51 -03:00
Gabriel Luiz Freitas Almeida
5a70aa04dd 🐛 fix(base.py): fix the assignment of params[key] in Vertex class to correctly handle nested dictionaries and lists
The previous implementation was not correctly handling nested dictionaries and lists. This fix updates the assignment of params[key] to correctly handle nested dictionaries and lists by using a dictionary comprehension.
2023-09-19 11:28:01 -03:00
Cristhian Zanforlin Lousa
094fe2cc0d merge fix 2023-09-19 11:18:46 -03:00
Johngdae
9b22030a73 fix) Fix combinedMemory 2023-09-19 12:02:18 +00:00
Cristhian Zanforlin Lousa
83271fa0e8 🐛 fix(reactflowUtils.ts): remove unnecessary condition for template[t].type to improve code readability and maintainability 2023-09-18 22:59:40 -03:00
Cristhian Zanforlin Lousa
a6c80a8780 🐛 fix(reactflowUtils.ts): improve error message for empty key in validateNode function 2023-09-18 22:32:11 -03:00
Cristhian Zanforlin Lousa
52a8e6eeb5 🐛 fix(reactflowUtils.ts): fix validation logic for nested dictionaries in validateNode function
 feat(reactflowUtils.ts): add hasEmptyKey function to check for empty keys in dictionaries in validateNode function
2023-09-18 22:27:08 -03:00
Cristhian Zanforlin Lousa
b30f9ddf7f 🐛 fix(parameterComponent): convert parameter values to numbers before assigning them to improve data consistency
🔧 chore(reactflowUtils): add utility function to convert values to numbers in an array of objects
2023-09-18 21:51:22 -03:00
Cristhian Zanforlin Lousa
7d3f2377a5 🔧 fix(dictAreaModal/index.tsx): add useEffect hook to update dictObj state when value prop changes
🔧 fix(dictAreaModal/index.tsx): initialize dictObj state with value prop on component mount
2023-09-18 21:16:10 -03:00
Cristhian Zanforlin Lousa
71dd9821ea 🐛 fix(parameterComponent): handleOnNewValue now accepts Object[] as a valid parameter type to support dict and NestedDict types
🐛 fix(parameterComponent): remove unused state variables obj and dictArr
 feat(parameterComponent): add support for dict and NestedDict types in ParameterComponent
🐛 fix(dictComponent): call onChange when value prop changes to ensure proper synchronization
🐛 fix(keypairListComponent): call onChange when value prop changes to ensure proper synchronization
🐛 fix(dialog.tsx): add missing classes to prevent panning, dragging, undoing, and copying in DialogPortal and DialogOverlay components
2023-09-18 20:47:04 -03:00
Gabriel Luiz Freitas Almeida
3ae51da36e 🔧 chore(UpdateRequest.py): change field_type from "code" to "NestedDict" to improve clarity and semantics
🔧 chore(base.py): handle "dict" and "NestedDict" types in params parsing to ensure correct conversion from frontend data
🔧 chore(llms.py): change field_type from "code" to "dict" for model_kwargs field to improve semantics
🔧 chore(utilities.py): remove field_type "code" for fields with dict values to improve consistency
🔧 chore(constants.py): add "dict" and "NestedDict" to DIRECT_TYPES list to reflect available field types
🔧 chore(util.py): remove replace_dict_type_with_code function as it is no longer needed
2023-09-18 18:44:02 -03:00
Gabriel Luiz Freitas Almeida
aeecd6279f 🚀 feat(test_setup_superuser.py): add tests for setup_superuser and teardown_superuser functions
🔒 test(test_setup_superuser.py): test when AUTO_LOGIN is True, setup_superuser should not call get_session and create_super_user

🔒 test(test_setup_superuser.py): test when username and password are default, setup_superuser should call get_session, query, filter, and create_super_user with correct arguments, and reset superuser credentials

🔒 test(test_setup_superuser.py): test when superuser already exists, setup_superuser should call get_session, query, and filter with correct arguments, and not call create_super_user

🔒 test(test_teardown_superuser_default_superuser): test teardown_superuser with default superuser, should call get_session, query, filter, delete, and commit with correct arguments

🔒 test(test_teardown_superuser_no_default_superuser): test teardown_superuser without default superuser, should not call get_session, query, delete, and commit
2023-09-18 17:43:31 -03:00
Gabriel Luiz Freitas Almeida
bc53800b1c 🔧 chore(main.py): refactor imports and remove unused code in main.py for better code organization and maintainability
🔧 chore(manager.py): remove unused functions and refactor code in manager.py for better code organization and maintainability
2023-09-18 17:43:05 -03:00
Gabriel Luiz Freitas Almeida
049ffc72ef 🔧 fix(__main__.py): import correct function for initializing settings manager
🔧 fix(utils.py): fix condition for checking if user is superuser
2023-09-18 17:41:36 -03:00
Gabriel Luiz Freitas Almeida
55ef4d4fd0 🔒 chore(poetry.lock): update poetry.lock file
The poetry.lock file has been updated. This commit includes the changes made to the file.

🔒 chore(poetry.lock): update clickhouse-connect version from 0.6.11 to 0.6.12 to stay up-to-date with the latest bug fixes and improvements

🔄 chore(clickhouse_connect): update clickhouse_connect package to version 0.6.12

The clickhouse_connect package has been updated to version 0.6.12. This update includes the following changes:
- Removed the following wheel files:
  - clickhouse_connect-0.6.11-cp38-cp38-win32.whl
  - clickhouse_connect-0.6.11-cp38-cp38-win_amd64.whl
  - clickhouse_connect-0.6.11-cp39-cp39-macosx_10_9_x86_64.whl
  - clickhouse_connect-0.6.11-cp39-cp39-macosx_11_0_arm64.whl
  - clickhouse_connect-0.6.11-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
  - clickhouse_connect-0.6.11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  - clickhouse_connect-0.6.11-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
  - clickhouse_connect-0.6.11-cp39-cp39-musllinux_1_1_aarch64.whl
  - clickhouse_connect-0.6.11-cp39-cp39-musllinux_1_1_i686.whl
  - clickhouse_connect-0.6.11-cp39-cp39-musllinux_1_1_x86_64.whl
  - clickhouse_connect-0.6.11-cp39-cp39-win32.whl
  - clickhouse_connect-0.6.11-cp39-cp39-win_amd64.whl
  - clickhouse_connect-0.6.11-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
  - clickhouse_connect-0.6.11-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
  - clickhouse_connect

🔧 chore(clickhouse_connect): update clickhouse_connect package to version 0.6.12

ℹ️ The clickhouse_connect package has been updated to version 0.6.12. This update includes various bug fixes and improvements.

🚀 feat(package.dependencies): add clickhouse_connect package with multiple wheel files and their hashes

ℹ️ The clickhouse_connect package has been added as a dependency to the project. This commit includes the addition of multiple wheel files along with their corresponding hashes. These wheel files provide support for different platforms and Python versions.

🔒 chore(poetry.lock): update cohere, fsspec, langfuse, langsmith, and nest-asyncio packages

- cohere package:
  - Update version from 4.24 to 4.26.1
  - Update wheel and tar.gz files hashes

- fsspec package:
  - Update version from 2023.9.0 to 2023.9.1
  - Update wheel and tar.gz files hashes

- langfuse package:
  - Update version from 1.0.21 to 1.0.24
  - Update wheel and tar.gz files hashes

- langsmith package:
  - Update version from 0.0.37 to 0.0.38
  - Update wheel and tar.gz files hashes

- nest-asyncio package:
  - Update version from 1.5.7 to 1.5.8
  - Update wheel and tar.gz files hashes

🔒 chore(poetry.lock): update numpy version to 1.26.0 and restrict python versions to be below 3.13 and above 3.9 to ensure compatibility

🔧 chore: update numpy package to version 1.26.0

ℹ️ The following files have been updated:
- numpy-1.26.0-cp312-cp312-macosx_11_0_arm64.whl
- numpy-1.26.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- numpy-1.26.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- numpy-1.26.0-cp312-cp312-musllinux_1_1_x86_64.whl
- numpy-1.26.0-cp312-cp312-win32.whl
- numpy-1.26.0-cp312-cp312-win_amd64.whl
- numpy-1.26.0-cp39-cp39-macosx_10_9_x86_64.whl
- numpy-1.26.0-cp39-cp39-macosx_11_0_arm64.whl
- numpy-1.26.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- numpy-1.26.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- numpy-1.26.0-cp39-cp39-musllinux_1_1_x86_64.whl
- numpy-1.26.0-cp39-cp39-win32.whl
- numpy-1.26.0-cp39-cp39-win_amd64.whl
- numpy-1.26.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl
- numpy-1.26.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- numpy-1.26.0-pp39-pypy39_pp73-win_amd64.whl
- numpy-1.26.0.tar.gz

🚀 This update includes bug fixes and improvements.

🔒 chore(poetry.lock): update poetry.lock file

The poetry.lock file has been updated. This commit includes changes to the file to reflect the updated dependencies and their versions.

🔒 chore(poetry.lock): update pillow version from 10.0.0 to 10.0.1 to fix a bug or security vulnerability

🚀 feat(pillow): update Pillow package to version 10.0.1

The Pillow package has been updated to version 10.0.1. This update includes several bug fixes and improvements. The new version provides support for macOS 11.0 arm64 architecture, manylinux 2.17 aarch64 and x86_64 architectures, manylinux 2.28 aarch64 and x86_64 architectures, musllinux 1.1 aarch64 and x86_64 architectures, and Windows AMD64 architecture.

The updated package files and their corresponding hashes are as follows:
- Pillow-10.0.1-cp310-cp310-macosx_10_10_x86_64.whl (sha256:8f06be50669087250f319b706decf69ca71fdecd829091a37cc89398ca4dc17a)
- Pillow-10.0.1-cp310-cp310-macosx_11_0_arm64.whl (sha256:50bd5f1ebafe9362ad622072a1d2f5850ecfa44303531ff14353a4059113b12d)
- Pillow-10.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (sha256:e6a90167bcca1216606223a05e2cf991bb25b14695c518bc65639463d7db722d)
- Pillow-10.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (sha256:f11c9102c56ffb9ca87134bd025a43d2aba3f1155f508eff88f694b33a9c6d19)
- Pillow-10.0.1-cp310-cp310-manylinux_2_28_aarch64.whl (sha256:186f7e04248103482ea6354af6d5bcedb62941ee08f7f788a1c7707bc720c66f)
- Pillow-10.0.1-cp310-cp310-manylinux_2_28_x86_64.whl (sha256:0462b149650

🚀 feat(package): add Pillow 10.0.1 wheel files with corresponding hashes for various platforms

ℹ️ The commit adds the following Pillow 10.0.1 wheel files with their respective hashes:
- Pillow-10.0.1-cp312-cp312-win_amd64.whl
- Pillow-10.0.1-cp38-cp38-macosx_10_10_x86_64.whl
- Pillow-10.0.1-cp38-cp38-macosx_11_0_arm64.whl
- Pillow-10.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Pillow-10.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Pillow-10.0.1-cp38-cp38-manylinux_2_28_aarch64.whl
- Pillow-10.0.1-cp38-cp38-manylinux_2_28_x86_64.whl
- Pillow-10.0.1-cp38-cp38-musllinux_1_1_aarch64.whl
- Pillow-10.0.1-cp38-cp38-musllinux_1_1_x86_64.whl
- Pillow-10.0.1-cp38-cp38-win_amd64.whl
- Pillow-10.0.1-cp39-cp39-macosx_10_10_x86_64.whl
- Pillow-10.0.1-cp39-cp39-macosx_11_0_arm64.whl
- Pillow-10.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Pillow-10.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Pillow-10.0.1-cp39-cp39-manylinux_2_28_aarch64.whl
- Pillow-10.0.1-cp39-cp39-manylinux_2_28_x86_64.whl
- Pillow

🔒 chore(poetry.lock): update pinecone-client version to 2.2.4 for bug fixes and improvements
🔒 chore(poetry.lock): update portalocker version to 2.8.2 for bug fixes and enhancements
🔒 chore(poetry.lock): update pypdf version to 3.16.1 for bug fixes and improvements
🔒 chore(poetry.lock): update rich version to 13.5.3 for bug fixes and enhancements
🔒 chore(poetry.lock): update smmap version to 5.0.1 for bug fixes and improvements
🔒 chore(poetry.lock): update textual version to 0.37.1 for bug fixes and enhancements
🔒 chore(poetry.lock): update traitlets version to 5.10.0 for bug fixes and improvements

🔒 chore(poetry.lock): update types-pytz version to 2023.3.1.0 for typing stubs for pytz
🔒 chore(poetry.lock): update typing-extensions version to 4.8.0 for backported and experimental type hints for Python 3.8+
🔒 chore(poetry.lock): update unstructured version to 0.10.15 for library that prepares raw documents for downstream ML tasks
🔒 chore(poetry.lock): update zipp version to 3.17.0 for backport of pathlib-compatible object wrapper for zip files
2023-09-18 15:53:23 -03:00
Gabriel Luiz Freitas Almeida
828492eaf2 🔧 chore(main.py): import setup_superuser function to be able to set up a superuser for the application 2023-09-18 15:52:15 -03:00
Gabriel Luiz Freitas Almeida
976b01875a 🔥 refactor(test_llms_template.py): remove unused imports and commented out code
🔒 test(test_llms_template.py): remove test_llms_settings test as it is no longer needed
2023-09-18 15:51:40 -03:00
Gabriel Luiz Freitas Almeida
94020b3126 📝 chore(manager.py): update variable names for superuser in database manager and utils module for better clarity and consistency
The variable names `FIRST_SUPERUSER` and `FIRST_SUPERUSER_PASSWORD` have been changed to `SUPERUSER` and `SUPERUSER_PASSWORD` respectively in the `manager.py` and `utils.py` files. This change improves clarity and consistency in the codebase.
2023-09-18 15:45:40 -03:00
Gabriel Luiz Freitas Almeida
f22c66d824 📝 chore(.env.example): add placeholders for LANGFLOW_SUPERUSER and LANGFLOW_SUPERUSER_PASSWORD to improve documentation and configuration 2023-09-18 15:45:27 -03:00