From 7896536b706e76aedbdd567c98a62865f03369b0 Mon Sep 17 00:00:00 2001 From: ZanSara Date: Fri, 23 Feb 2024 12:12:45 +0100 Subject: [PATCH] ruff --- .../document_stores/mongodb_atlas/document_store.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/mongodb_atlas/src/haystack_integrations/document_stores/mongodb_atlas/document_store.py b/integrations/mongodb_atlas/src/haystack_integrations/document_stores/mongodb_atlas/document_store.py index 7965b1a72..cf7bfa758 100644 --- a/integrations/mongodb_atlas/src/haystack_integrations/document_stores/mongodb_atlas/document_store.py +++ b/integrations/mongodb_atlas/src/haystack_integrations/document_stores/mongodb_atlas/document_store.py @@ -5,13 +5,13 @@ import re from typing import Any, Dict, List, Optional, Union -from numpy import array, float32 from haystack import default_from_dict, default_to_dict from haystack.dataclasses.document import Document from haystack.document_stores.errors import DocumentStoreError, DuplicateDocumentError from haystack.document_stores.types import DuplicatePolicy from haystack.utils import Secret, deserialize_secrets_inplace from haystack_integrations.document_stores.mongodb_atlas.filters import haystack_filters_to_mongo +from numpy import array, float32 from pymongo import InsertOne, MongoClient, ReplaceOne, UpdateOne # type: ignore from pymongo.driver_info import DriverInfo # type: ignore from pymongo.errors import BulkWriteError # type: ignore