Coverage for src / zooc / run / run_calibrate.py: 100%
8 statements
« prev ^ index » next coverage.py v7.13.0, created at 2025-12-11 21:45 +0000
« prev ^ index » next coverage.py v7.13.0, created at 2025-12-11 21:45 +0000
1"""Calibration."""
2import logging
3from dataclasses import dataclass
5from klipper_utils.klipper_module import KlipperModule
6from klipper_utils.klipper_utils import Gcmd
8from .run_config import RunConfig
10logger = logging.getLogger(__name__)
13@dataclass
14class RunCalibrate:
15 """Base class holding the necessary data for calibration.
17 :param klipper_module: Klipper module instance.
18 :param gcmd: Klipper's G-code command.
19 :param run_config: Run configuration data.
20 """
22 klipper_module: KlipperModule
23 gcmd: Gcmd
24 run_config: RunConfig