Fix linting
This commit is contained in:
parent
9e823de74e
commit
7a7a01b68b
1 changed files with 3 additions and 1 deletions
|
|
@ -1421,7 +1421,9 @@ class MongoVectorDBStorage(BaseVectorStorage):
|
|||
except PyMongoError as e:
|
||||
error_msg = f"Error creating vector index {self._index_name}: {e}"
|
||||
logger.error(error_msg)
|
||||
raise SystemExit(f"Failed to create MongoDB vector index. Program cannot continue. {error_msg}")
|
||||
raise SystemExit(
|
||||
f"Failed to create MongoDB vector index. Program cannot continue. {error_msg}"
|
||||
)
|
||||
|
||||
async def upsert(self, data: dict[str, dict[str, Any]]) -> None:
|
||||
logger.debug(f"Inserting {len(data)} to {self.namespace}")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue