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:
parent
e24b2ed4fa
commit
48f6511404
1 changed files with 3 additions and 1 deletions
|
|
@ -90,7 +90,9 @@ def _find_legacy_collection(
|
||||||
# Try multiple naming patterns for backward compatibility
|
# Try multiple naming patterns for backward compatibility
|
||||||
# More specific names (with workspace) have higher priority
|
# More specific names (with workspace) have higher priority
|
||||||
candidates = [
|
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
|
f"lightrag_vdb_{namespace}", # New legacy format
|
||||||
namespace, # Old format without workspace - most generic
|
namespace, # Old format without workspace - most generic
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue