From fa16e76022112eef1d70afbb7b595a6e3cb8ec87 Mon Sep 17 00:00:00 2001 From: ZanSara Date: Wed, 21 Feb 2024 17:59:22 +0100 Subject: [PATCH] docstring --- .../components/retrievers/mongodb_atlas/embedding_retriever.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/integrations/mongodb_atlas/src/haystack_integrations/components/retrievers/mongodb_atlas/embedding_retriever.py b/integrations/mongodb_atlas/src/haystack_integrations/components/retrievers/mongodb_atlas/embedding_retriever.py index d39a8897f..a20db0d8b 100644 --- a/integrations/mongodb_atlas/src/haystack_integrations/components/retrievers/mongodb_atlas/embedding_retriever.py +++ b/integrations/mongodb_atlas/src/haystack_integrations/components/retrievers/mongodb_atlas/embedding_retriever.py @@ -53,7 +53,8 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls, data: Dict[str, Any]) -> "MongoDBAtlasEmbeddingRetriever": """ - Deserializes a dictionary created with `MongoDBAtlasEmbeddingRetriever. to_dict()` into a `MongoDBAtlasEmbeddingRetriever` instance. + Deserializes a dictionary created with `MongoDBAtlasEmbeddingRetriever. to_dict()` into a + `MongoDBAtlasEmbeddingRetriever` instance. :param data: the dictionary returned by `MongoDBAtlasEmbeddingRetriever. to_dict()` """