From d8575f135190e57c5e64b744d9353f12edad59df Mon Sep 17 00:00:00 2001 From: Attila Sasvari Date: Wed, 24 Jul 2024 19:23:35 +0100 Subject: [PATCH] Revert annotation as per review comment --- .../src/opentelemetry/util/_importlib_metadata.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/opentelemetry-api/src/opentelemetry/util/_importlib_metadata.py b/opentelemetry-api/src/opentelemetry/util/_importlib_metadata.py index a85a3a4cb34..cbf09f3ef8c 100644 --- a/opentelemetry-api/src/opentelemetry/util/_importlib_metadata.py +++ b/opentelemetry-api/src/opentelemetry/util/_importlib_metadata.py @@ -14,7 +14,12 @@ # FIXME: Use importlib.metadata when support for 3.11 is dropped if the rest of # the supported versions at that time have the same API. -from importlib_metadata import EntryPoint, EntryPoints, entry_points, version +from importlib_metadata import ( # type: ignore + EntryPoint, + EntryPoints, + entry_points, + version, +) # The importlib-metadata library has introduced breaking changes before to its # API, this module is kept just to act as a layer between the