Skip to content

⚡️ Speed up method AstraDBVectorStoreComponent.reset_database_list by 155% in PR #6028 (PlaygroundPage) #11969

⚡️ Speed up method AstraDBVectorStoreComponent.reset_database_list by 155% in PR #6028 (PlaygroundPage)

⚡️ Speed up method AstraDBVectorStoreComponent.reset_database_list by 155% in PR #6028 (PlaygroundPage) #11969

Triggered via pull request February 6, 2025 15:59
Status Failure
Total duration 19s
Artifacts

style-check-py.yml

on: pull_request
Matrix: Ruff Style Check
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Ruff (TRY300): src/backend/base/langflow/components/vectorstores/astradb.py#L821
src/backend/base/langflow/components/vectorstores/astradb.py:821:13: TRY300 Consider moving this statement to an `else` block
Ruff (TRY003): src/backend/base/langflow/components/vectorstores/astradb.py#L823
src/backend/base/langflow/components/vectorstores/astradb.py:823:19: TRY003 Avoid specifying long messages outside the exception class
Ruff (EM102): src/backend/base/langflow/components/vectorstores/astradb.py#L823
src/backend/base/langflow/components/vectorstores/astradb.py:823:30: EM102 Exception must not use an f-string literal, assign to variable first
Ruff Style Check (3.12)
Process completed with exit code 1.