Skip to content

Commit 48f6511

Browse files
committed
style: Apply ruff-format to qdrant_impl.py
Fix code formatting to comply with ruff-format requirements. Split long conditional expression across multiple lines for better readability.
1 parent e24b2ed commit 48f6511

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lightrag/kg/qdrant_impl.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ def _find_legacy_collection(
9090
# Try multiple naming patterns for backward compatibility
9191
# More specific names (with workspace) have higher priority
9292
candidates = [
93-
f"{workspace}_{namespace}" if workspace else None, # Old format with workspace - most specific
93+
f"{workspace}_{namespace}"
94+
if workspace
95+
else None, # Old format with workspace - most specific
9496
f"lightrag_vdb_{namespace}", # New legacy format
9597
namespace, # Old format without workspace - most generic
9698
]

0 commit comments

Comments
 (0)