Skip to content

Commit

Permalink
Continue implementing opentelemetry instrument
Browse files Browse the repository at this point in the history
  • Loading branch information
insani7y committed Jul 13, 2024
1 parent 105acf1 commit b4304d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions microbootstrap/instruments/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
from microbootstrap.helpers import merge_pydantic_configs


InstrumentConfigT = typing.TypeVar("InstrumentConfigT", bound="BaseInstrumentConfig")


class BaseInstrumentConfig(BaseModel):
class Config:
arbitrary_types_allowed = True


InstrumentConfigT = typing.TypeVar("InstrumentConfigT", bound="BaseInstrumentConfig")


@dataclasses.dataclass
class Instrument(typing.Protocol[InstrumentConfigT]):
instrument_config: InstrumentConfigT
Expand Down

0 comments on commit b4304d2

Please sign in to comment.