Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions lite_bootstrap/instruments/base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import abc
import dataclasses
import typing

Expand Down Expand Up @@ -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 = ""
Expand Down
2 changes: 2 additions & 0 deletions lite_bootstrap/instruments/prometheus_instrument.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions lite_bootstrap/instruments/swagger_instrument.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading