Skip to content

Commit 98c096d

Browse files
committed
organising imports
1 parent 884e1c5 commit 98c096d

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • integrations/elasticsearch/src/haystack_integrations/document_stores/elasticsearch

integrations/elasticsearch/src/haystack_integrations/document_stores/elasticsearch/document_store.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22
#
33
# SPDX-License-Identifier: Apache-2.0
44
import copy
5+
56
# ruff: noqa: FBT002, FBT001 boolean-type-hint-positional-argument and boolean-default-value-positional-argument
67
# ruff: noqa: B008 function-call-in-default-argument
78
# ruff: noqa: S101 disable checks for uses of the assert keyword
8-
9-
109
from collections.abc import Mapping
1110
from typing import Any, Literal
1211

@@ -424,7 +423,7 @@ def _deserialize_document(self, hit: dict[str, Any]) -> Document:
424423
"""
425424
Creates a `Document` from the search hit provided.
426425
427-
This is mostly useful in self.filter_documents().
426+
This is mostly useful in self.filter_documents() and self.filter_documents_async().
428427
429428
:param hit: A search hit from Elasticsearch.
430429
:returns: `Document` created from the search hit.

0 commit comments

Comments
 (0)