chore: removing unused imports from tests (#9444)

This commit is contained in:
David S. Batista 2025-05-26 14:41:36 +01:00 committed by GitHub
parent b8dff93200
commit 2092bedb90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 4 deletions

View File

@ -18,7 +18,6 @@ from haystack.dataclasses.byte_stream import ByteStream
from openapi3 import OpenAPI from openapi3 import OpenAPI
from haystack.components.connectors import OpenAPIServiceConnector from haystack.components.connectors import OpenAPIServiceConnector
from haystack.components.connectors.openapi_service import patch_request
from haystack.dataclasses import ChatMessage, ToolCall from haystack.dataclasses import ChatMessage, ToolCall

View File

@ -1,12 +1,13 @@
# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
import logging import logging
from unittest.mock import patch, Mock from unittest.mock import patch, Mock
import pytest import pytest
from haystack import Document, default_from_dict, default_to_dict from haystack import Document
from haystack.components.converters.pypdf import PyPDFToDocument, PyPDFExtractionMode from haystack.components.converters.pypdf import PyPDFToDocument, PyPDFExtractionMode
from haystack.components.preprocessors import DocumentSplitter from haystack.components.preprocessors import DocumentSplitter
from haystack.dataclasses import ByteStream from haystack.dataclasses import ByteStream

View File

@ -1,10 +1,9 @@
# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
import logging import logging
import os import os
from unittest.mock import patch
from pathlib import Path
import pytest import pytest

View File

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
#
# SPDX-License-Identifier: Apache-2.0
import logging import logging
from typing import Union from typing import Union