From 0e6c6a12ca779753cec08505a5ff2c96469f1a3d Mon Sep 17 00:00:00 2001 From: Dudssource Date: Wed, 24 Jan 2024 17:10:09 -0300 Subject: [PATCH] fix: removed code duplicate --- .../otlp/proto/common/_internal/metrics_encoder/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/exporter/opentelemetry-exporter-otlp-proto-common/src/opentelemetry/exporter/otlp/proto/common/_internal/metrics_encoder/__init__.py b/exporter/opentelemetry-exporter-otlp-proto-common/src/opentelemetry/exporter/otlp/proto/common/_internal/metrics_encoder/__init__.py index 8cf321be72e..eb2a1147842 100644 --- a/exporter/opentelemetry-exporter-otlp-proto-common/src/opentelemetry/exporter/otlp/proto/common/_internal/metrics_encoder/__init__.py +++ b/exporter/opentelemetry-exporter-otlp-proto-common/src/opentelemetry/exporter/otlp/proto/common/_internal/metrics_encoder/__init__.py @@ -65,7 +65,6 @@ class OTLPMetricExporterMixin: def _common_configuration( self, preferred_temporality: Dict[type, AggregationTemporality] = None, - preferred_aggregation: Dict[type, "opentelemetry.sdk.metrics.view.Aggregation"] = None, preferred_aggregation: Dict[ type, "opentelemetry.sdk.metrics.view.Aggregation" ] = None,