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

SamhammerAG / ai-data-preprocessing-queue / 13159808302

05 Feb 2025 02:37PM UTC coverage: 91.018% (-0.5%) from 91.566%
13159808302

push

github

oschulzSam
KIT-4026 update

1 of 2 new or added lines in 1 file covered. (50.0%)

152 of 167 relevant lines covered (91.02%)

0.91 hits per line

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

92.86
/ai_data_preprocessing_queue/StepProcessor.py
1
import importlib
1✔
2
from typing import Any
1✔
3

4
# required import because of logic in init
5
from . import Steps  # noqa: F401
1✔
6

7

8
class StepProcessor:
1✔
9
    def __init__(self, name: str, step_data: str | None) -> None:
1✔
10
        self.name: str = name
1✔
11
        self.step_data: str | None = step_data
1✔
12

13
        package_name = f"{__package__}.Steps"
1✔
14
        module_name = f".{self.name}"
1✔
15
        self.module = importlib.import_module(module_name, package_name)
1✔
16

17
        if self.module.step is None:
1✔
NEW
18
            raise AssertionError("self.module.step must not be None")
×
19

20
    def run(self, item: Any, item_state: dict[str, Any], global_state: dict[str, Any] | None = None) -> Any:
1✔
21
        return self.module.step(item, item_state, global_state, self.step_data or "")
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