From 0b275e869448f39f140dd7634568e7b264da62c3 Mon Sep 17 00:00:00 2001 From: tstadel Date: Thu, 30 Nov 2023 14:11:11 +0100 Subject: [PATCH] remove file header overhead --- integrations/opensearch/src/opensearch_haystack/__about__.py | 3 --- integrations/opensearch/src/opensearch_haystack/__init__.py | 3 --- .../opensearch/src/opensearch_haystack/bm25_retriever.py | 3 --- .../opensearch/src/opensearch_haystack/document_store.py | 3 --- .../opensearch/src/opensearch_haystack/embedding_retriever.py | 3 --- integrations/opensearch/tests/__init__.py | 3 --- integrations/opensearch/tests/test_bm25_retriever.py | 3 --- integrations/opensearch/tests/test_document_store.py | 4 ---- integrations/opensearch/tests/test_embedding_retriever.py | 3 --- 9 files changed, 28 deletions(-) diff --git a/integrations/opensearch/src/opensearch_haystack/__about__.py b/integrations/opensearch/src/opensearch_haystack/__about__.py index f3717f266..f102a9cad 100644 --- a/integrations/opensearch/src/opensearch_haystack/__about__.py +++ b/integrations/opensearch/src/opensearch_haystack/__about__.py @@ -1,4 +1 @@ -# SPDX-FileCopyrightText: 2023-present Silvano Cerza -# -# SPDX-License-Identifier: Apache-2.0 __version__ = "0.0.1" diff --git a/integrations/opensearch/src/opensearch_haystack/__init__.py b/integrations/opensearch/src/opensearch_haystack/__init__.py index ec0abdeb8..7bb6d9b03 100644 --- a/integrations/opensearch/src/opensearch_haystack/__init__.py +++ b/integrations/opensearch/src/opensearch_haystack/__init__.py @@ -1,6 +1,3 @@ -# SPDX-FileCopyrightText: 2023-present Silvano Cerza -# -# SPDX-License-Identifier: Apache-2.0 from opensearch_haystack.document_store import OpenSearchDocumentStore __all__ = ["OpenSearchDocumentStore"] diff --git a/integrations/opensearch/src/opensearch_haystack/bm25_retriever.py b/integrations/opensearch/src/opensearch_haystack/bm25_retriever.py index 9b23bfbee..9755d6253 100644 --- a/integrations/opensearch/src/opensearch_haystack/bm25_retriever.py +++ b/integrations/opensearch/src/opensearch_haystack/bm25_retriever.py @@ -1,6 +1,3 @@ -# SPDX-FileCopyrightText: 2023-present Silvano Cerza -# -# SPDX-License-Identifier: Apache-2.0 from typing import Any, Dict, List, Optional from haystack import component, default_from_dict, default_to_dict diff --git a/integrations/opensearch/src/opensearch_haystack/document_store.py b/integrations/opensearch/src/opensearch_haystack/document_store.py index beece0789..fe8495fb0 100644 --- a/integrations/opensearch/src/opensearch_haystack/document_store.py +++ b/integrations/opensearch/src/opensearch_haystack/document_store.py @@ -1,6 +1,3 @@ -# SPDX-FileCopyrightText: 2023-present Silvano Cerza -# -# SPDX-License-Identifier: Apache-2.0 import logging from typing import Any, Dict, List, Mapping, Optional, Union diff --git a/integrations/opensearch/src/opensearch_haystack/embedding_retriever.py b/integrations/opensearch/src/opensearch_haystack/embedding_retriever.py index c52db3365..9bbc2a7a3 100644 --- a/integrations/opensearch/src/opensearch_haystack/embedding_retriever.py +++ b/integrations/opensearch/src/opensearch_haystack/embedding_retriever.py @@ -1,6 +1,3 @@ -# SPDX-FileCopyrightText: 2023-present deepset GmbH -# -# SPDX-License-Identifier: Apache-2.0 from typing import Any, Dict, List, Optional from haystack import component, default_from_dict, default_to_dict diff --git a/integrations/opensearch/tests/__init__.py b/integrations/opensearch/tests/__init__.py index ec55bfc66..e69de29bb 100644 --- a/integrations/opensearch/tests/__init__.py +++ b/integrations/opensearch/tests/__init__.py @@ -1,3 +0,0 @@ -# SPDX-FileCopyrightText: 2023-present Silvano Cerza -# -# SPDX-License-Identifier: Apache-2.0 diff --git a/integrations/opensearch/tests/test_bm25_retriever.py b/integrations/opensearch/tests/test_bm25_retriever.py index 14acd41b6..cfea2d767 100644 --- a/integrations/opensearch/tests/test_bm25_retriever.py +++ b/integrations/opensearch/tests/test_bm25_retriever.py @@ -1,6 +1,3 @@ -# SPDX-FileCopyrightText: 2023-present Silvano Cerza -# -# SPDX-License-Identifier: Apache-2.0 from unittest.mock import Mock, patch from haystack.dataclasses import Document diff --git a/integrations/opensearch/tests/test_document_store.py b/integrations/opensearch/tests/test_document_store.py index 9e13d6c21..de2ff1600 100644 --- a/integrations/opensearch/tests/test_document_store.py +++ b/integrations/opensearch/tests/test_document_store.py @@ -1,7 +1,3 @@ -# SPDX-FileCopyrightText: 2023-present Silvano Cerza -# -# SPDX-License-Identifier: Apache-2.0 - import random from typing import List from unittest.mock import patch diff --git a/integrations/opensearch/tests/test_embedding_retriever.py b/integrations/opensearch/tests/test_embedding_retriever.py index 715ee222e..2bfe5761a 100644 --- a/integrations/opensearch/tests/test_embedding_retriever.py +++ b/integrations/opensearch/tests/test_embedding_retriever.py @@ -1,6 +1,3 @@ -# SPDX-FileCopyrightText: 2023-present deepset GmbH -# -# SPDX-License-Identifier: Apache-2.0 from unittest.mock import Mock, patch from haystack.dataclasses import Document