File tree Expand file tree Collapse file tree
src/haystack_integrations/document_stores/qdrant Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -299,8 +299,8 @@ async def _initialize_async_client(self) -> None:
299299 # For in-memory stores: if the sync client was already initialised,
300300 # share its underlying collections dict so both clients see the same data.
301301 if self .location == ":memory:" and self ._client is not None :
302- self ._async_client ._client .collections = self ._client ._client .collections
303- self ._async_client ._client .aliases = self ._client ._client .aliases
302+ self ._async_client ._client .collections = self ._client ._client .collections # type: ignore[attr-defined]
303+ self ._async_client ._client .aliases = self ._client ._client .aliases # type: ignore[attr-defined]
304304 return
305305 await self ._set_up_collection_async (
306306 self .index ,
Original file line number Diff line number Diff line change 77from haystack .document_stores .errors import DuplicateDocumentError
88from haystack .document_stores .types import DuplicatePolicy
99from haystack .testing .document_store import (
10- CountDocumentsByFilterAsyncTest ,
11- CountUniqueMetadataByFilterAsyncTest ,
12- UpdateByFilterAsyncTest ,
1310 _random_embeddings ,
1411)
1512from haystack .testing .document_store_async import (
1613 CountDocumentsAsyncTest ,
14+ CountDocumentsByFilterAsyncTest ,
15+ CountUniqueMetadataByFilterAsyncTest ,
1716 DeleteAllAsyncTest ,
1817 DeleteByFilterAsyncTest ,
1918 DeleteDocumentsAsyncTest ,
2019 FilterDocumentsAsyncTest ,
2120 GetMetadataFieldMinMaxAsyncTest ,
2221 GetMetadataFieldsInfoAsyncTest ,
2322 GetMetadataFieldUniqueValuesAsyncTest ,
23+ UpdateByFilterAsyncTest ,
2424 WriteDocumentsAsyncTest ,
2525)
2626from qdrant_client .http import models as rest
You can’t perform that action at this time.
0 commit comments