From 53f8976462b59d604b3802e4593b4dae6c7b8cbb Mon Sep 17 00:00:00 2001 From: Diego Hurtado Date: Wed, 29 Sep 2021 16:07:07 +0200 Subject: [PATCH] Fix lint --- .../src/opentelemetry/sdk/metrics/__init__.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/opentelemetry-sdk/src/opentelemetry/sdk/metrics/__init__.py b/opentelemetry-sdk/src/opentelemetry/sdk/metrics/__init__.py index 300ea2d2063..197cd0ca826 100644 --- a/opentelemetry-sdk/src/opentelemetry/sdk/metrics/__init__.py +++ b/opentelemetry-sdk/src/opentelemetry/sdk/metrics/__init__.py @@ -24,7 +24,6 @@ ObservableUpDownCounter, UpDownCounter, ) -from opentelemetry.sdk.resources import Resource from opentelemetry.util.types import Attributes @@ -88,12 +87,6 @@ def create_observable_up_down_counter( class MeterProvider(MeterProvider): - def __init__(self, resource=None): - if resource is None: - self._resource = Resource() - else: - self._resource = resource - def add_pipeline(self): pass