• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

deepset-ai / haystack / 13453377539

21 Feb 2025 08:58AM UTC coverage: 90.155% (-1.0%) from 91.142%
13453377539

Pull #8892

github

web-flow
Merge e59ea2040 into 9546e6937
Pull Request #8892: ci: refactor job to check imports

9496 of 10533 relevant lines covered (90.15%)

0.9 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
haystack/components/classifiers/__init__.py
1
# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
2
#
3
# SPDX-License-Identifier: Apache-2.0
4

5
import sys
1✔
6
from typing import TYPE_CHECKING
1✔
7

8
from lazy_imports import LazyImporter
1✔
9

10
_import_structure = {
1✔
11
    "document_language_classifier": ["DocumentLanguageClassifier"],
12
    "zero_shot_document_classifier": ["TransformersZeroShotDocumentClassifier"],
13
}
14

15
if TYPE_CHECKING:
1✔
16
    from .document_language_classifier import DocumentLanguageClassifier
×
17
    from .zero_shot_document_classifier import TransformersZeroShotDocumentClassifier
×
18

19
else:
20
    sys.modules[__name__] = LazyImporter(name=__name__, module_file=__file__, import_structure=_import_structure)
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc