⚡️ Speed up method AstraDBVectorStoreComponent.reset_database_list
by 49% in PR #6048 (bugfix-dev-astradb
)
#11827
Annotations
3 errors
Run Ruff Check:
src/backend/base/langflow/components/vectorstores/astradb.py#L459
src/backend/base/langflow/components/vectorstores/astradb.py:459:13: TRY300 Consider moving this statement to an `else` block
|
Run Ruff Check:
src/backend/base/langflow/components/vectorstores/astradb.py#L459
src/backend/base/langflow/components/vectorstores/astradb.py:459:20: RET504 Unnecessary assignment to `database_options` before `return` statement
|
Run Ruff Check
Process completed with exit code 1.
|
Loading