diff --git a/lite_bootstrap/instruments/base.py b/lite_bootstrap/instruments/base.py index bfd44cb..e5fd6f5 100644 --- a/lite_bootstrap/instruments/base.py +++ b/lite_bootstrap/instruments/base.py @@ -1,4 +1,3 @@ -import abc import dataclasses import typing @@ -31,7 +30,7 @@ def from_object(cls, obj: object) -> typing_extensions.Self: @dataclasses.dataclass(kw_only=True, slots=True, frozen=True) -class BaseInstrument(abc.ABC, typing.Generic[ConfigT]): +class BaseInstrument(typing.Generic[ConfigT]): bootstrap_config: ConfigT not_ready_message = "" missing_dependency_message = "" diff --git a/lite_bootstrap/instruments/prometheus_instrument.py b/lite_bootstrap/instruments/prometheus_instrument.py index ccf047f..8bc81c8 100644 --- a/lite_bootstrap/instruments/prometheus_instrument.py +++ b/lite_bootstrap/instruments/prometheus_instrument.py @@ -1,3 +1,5 @@ +"""Prometheus config and readiness check; framework-specific bootstrap lives in the bootstrapper subclasses.""" + import dataclasses from lite_bootstrap.helpers.path import is_valid_path diff --git a/lite_bootstrap/instruments/swagger_instrument.py b/lite_bootstrap/instruments/swagger_instrument.py index 22ef858..f222a98 100644 --- a/lite_bootstrap/instruments/swagger_instrument.py +++ b/lite_bootstrap/instruments/swagger_instrument.py @@ -1,3 +1,5 @@ +"""Swagger config and minimal base instrument; framework-specific behavior lives in the bootstrapper subclasses.""" + import dataclasses from lite_bootstrap.instruments.base import BaseConfig, BaseInstrument