diff --git a/integrations/qdrant/src/haystack_integrations/document_stores/qdrant/document_store.py b/integrations/qdrant/src/haystack_integrations/document_stores/qdrant/document_store.py index b5f64b229..dac473b61 100644 --- a/integrations/qdrant/src/haystack_integrations/document_stores/qdrant/document_store.py +++ b/integrations/qdrant/src/haystack_integrations/document_stores/qdrant/document_store.py @@ -357,7 +357,7 @@ def _set_up_collection( embedding_dim: int, recreate_collection: bool, # noqa: FBT001 similarity: str, - on_disk: bool = False, # noqa: FBT001 + on_disk: bool = False, # noqa: FBT001, FBT002 payload_field_to_index: Optional[List[dict]] = None, ): distance = self._get_distance(similarity) @@ -407,7 +407,7 @@ def _set_up_collection( ) raise ValueError(msg) - def _recreate_collection(self, collection_name: str, distance, embedding_dim: int, on_disk: bool): + def _recreate_collection(self, collection_name: str, distance, embedding_dim: int, on_disk: bool): # noqa: FBT001 self.client.recreate_collection( collection_name=collection_name, vectors_config=rest.VectorParams(