From 48f65114041c4f6f6f4fac0118f98cb18f16c03e Mon Sep 17 00:00:00 2001 From: BukeLy Date: Thu, 20 Nov 2025 02:43:59 +0800 Subject: [PATCH] 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. --- lightrag/kg/qdrant_impl.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lightrag/kg/qdrant_impl.py b/lightrag/kg/qdrant_impl.py index 4e85db81..91aded1e 100644 --- a/lightrag/kg/qdrant_impl.py +++ b/lightrag/kg/qdrant_impl.py @@ -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 ]