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.
This commit is contained in:
BukeLy 2025-11-20 02:43:59 +08:00
parent e24b2ed4fa
commit 48f6511404

View file

@ -90,7 +90,9 @@ def _find_legacy_collection(
# Try multiple naming patterns for backward compatibility
# More specific names (with workspace) have higher priority
candidates = [
f"{workspace}_{namespace}" if workspace else None, # Old format with workspace - most specific
f"{workspace}_{namespace}"
if workspace
else None, # Old format with workspace - most specific
f"lightrag_vdb_{namespace}", # New legacy format
namespace, # Old format without workspace - most generic
]