Fix linting
This commit is contained in:
parent
1ee1fe895b
commit
43f6fcea6c
1 changed files with 0 additions and 2 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue