From 395b3d1372dabf119e82a9d94aaf778dbb964b16 Mon Sep 17 00:00:00 2001 From: Riccardo Magliocchetti Date: Tue, 17 Dec 2024 15:16:47 +0100 Subject: [PATCH] No need to use Sequence from collections --- .../src/opentelemetry/sdk/metrics/_internal/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/opentelemetry-sdk/src/opentelemetry/sdk/metrics/_internal/__init__.py b/opentelemetry-sdk/src/opentelemetry/sdk/metrics/_internal/__init__.py index 4326aaa080..187b1b26e3 100644 --- a/opentelemetry-sdk/src/opentelemetry/sdk/metrics/_internal/__init__.py +++ b/opentelemetry-sdk/src/opentelemetry/sdk/metrics/_internal/__init__.py @@ -14,12 +14,11 @@ import weakref from atexit import register, unregister -from collections.abc import Sequence from logging import getLogger from os import environ from threading import Lock from time import time_ns -from typing import Optional +from typing import Optional, Sequence # This kind of import is needed to avoid Sphinx errors. import opentelemetry.sdk.metrics