* Refactor: Update EditNodeComponent to hide table options and block hide * 🐛 (model.py): fix issue with search_documents method not returning empty list when search_query is empty ♻️ (model.py): refactor search_documents method to handle search_query logic more efficiently 📝 (chroma.py): add typing_extensions override import for build_vector_store method to improve code readability * ✨ (tests): add unit tests for ChromaVectorStoreComponent - Introduced new test suite for ChromaVectorStoreComponent, covering various functionalities including database creation, collection management, similarity and MMR searches, and duplicate handling. - Implemented tests for creating collections with and without data, ensuring proper functionality and data integrity. - Verified search capabilities with different query types and result limits, enhancing overall test coverage for the component. * fix: remove unnecessary whitespace in model.py and add missing import in chroma.py * fix: mypy error module has no attribute "timeout" * ♻️ (async_helpers.py): Remove unnecessary type hint ignore comment from timeout_context function * 📝 (async_helpers.py): add a comment with issue reference PGH003 to document the reason for ignoring type checking in timeout_context function * ♻️ (async_helpers.py): Remove unnecessary type hint comment to improve code readability and maintainability * ♻️ (async_helpers.py): Add type ignore comment to suppress miscellaneous type error for timeout_context function * ♻️ (async_helpers.py): refactor timeout_context function to remove unnecessary type ignore comments and improve code readability * [autofix.ci] apply automated fixes * 📝 (async_helpers.py): add a blank line for better code readability and consistency * fix: mypy error: incompatible redefinition --------- Co-authored-by: anovazzi1 <otavio2204@gmail.com> Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org> Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| langflow | ||
| pyproject.toml | ||
| README.md | ||
| uv.lock | ||