Fix linting

This commit is contained in:
yangdx 2025-09-12 17:00:53 +08:00
parent 1ee1fe895b
commit 43f6fcea6c

View file

@ -83,7 +83,6 @@ class QdrantVectorDBStorage(BaseVectorStorage):
if not exists: if not exists:
client.create_collection(collection_name, **kwargs) client.create_collection(collection_name, **kwargs)
def __post_init__(self): def __post_init__(self):
# Check for QDRANT_WORKSPACE environment variable first (higher priority) # Check for QDRANT_WORKSPACE environment variable first (higher priority)
# This allows administrators to force a specific workspace for all Qdrant storage instances # This allows administrators to force a specific workspace for all Qdrant storage instances
@ -493,7 +492,6 @@ class QdrantVectorDBStorage(BaseVectorStorage):
if exists: if exists:
self._client.delete_collection(self.final_namespace) self._client.delete_collection(self.final_namespace)
# Recreate the collection # Recreate the collection
QdrantVectorDBStorage.create_collection_if_not_exist( QdrantVectorDBStorage.create_collection_if_not_exist(
self._client, self._client,