From fe5fe058911fd2d74caf755f40efaccde1363dd6 Mon Sep 17 00:00:00 2001 From: Riccardo Magliocchetti Date: Tue, 17 Dec 2024 15:20:12 +0100 Subject: [PATCH] Fix typing in proxy --- .../src/opentelemetry/metrics/_internal/instrument.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opentelemetry-api/src/opentelemetry/metrics/_internal/instrument.py b/opentelemetry-api/src/opentelemetry/metrics/_internal/instrument.py index 5d422589fa..3d6ea8f136 100644 --- a/opentelemetry-api/src/opentelemetry/metrics/_internal/instrument.py +++ b/opentelemetry-api/src/opentelemetry/metrics/_internal/instrument.py @@ -386,7 +386,7 @@ def __init__( self._unit = unit self._description = description self._advisory = advisory - self._real_instrument: Optional[InstrumentT] = None + self._real_instrument: Optional[Histogram] = None def record( self,