From 9bcfff86251f535543b9d81c47b79d71019b9719 Mon Sep 17 00:00:00 2001 From: Silvano Cerza Date: Thu, 25 Jan 2024 15:24:10 +0100 Subject: [PATCH] Fix linting --- .../document_stores/weaviate/document_store.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/weaviate/src/haystack_integrations/document_stores/weaviate/document_store.py b/integrations/weaviate/src/haystack_integrations/document_stores/weaviate/document_store.py index cb3bd5e31..4d2dc040e 100644 --- a/integrations/weaviate/src/haystack_integrations/document_stores/weaviate/document_store.py +++ b/integrations/weaviate/src/haystack_integrations/document_stores/weaviate/document_store.py @@ -267,7 +267,7 @@ def _query(self, properties: List[str], batch_size: int, cursor=None): return result["data"]["Get"][collection_name] - def filter_documents(self, filters: Optional[Dict[str, Any]] = None) -> List[Document]: + def filter_documents(self, filters: Optional[Dict[str, Any]] = None) -> List[Document]: # noqa: ARG002 properties = self._client.schema.get(self._collection_settings["class"]).get("properties", []) properties = [prop["name"] for prop in properties]