From 79089a2d1ef0d4147f3de038fc499f54c524228b Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Fri, 20 Dec 2024 21:38:34 +0100 Subject: [PATCH] add future --- .../src/opentelemetry/instrumentation/pymongo/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/instrumentation/opentelemetry-instrumentation-pymongo/src/opentelemetry/instrumentation/pymongo/__init__.py b/instrumentation/opentelemetry-instrumentation-pymongo/src/opentelemetry/instrumentation/pymongo/__init__.py index f59961945e..bb609a08c6 100644 --- a/instrumentation/opentelemetry-instrumentation-pymongo/src/opentelemetry/instrumentation/pymongo/__init__.py +++ b/instrumentation/opentelemetry-instrumentation-pymongo/src/opentelemetry/instrumentation/pymongo/__init__.py @@ -75,6 +75,8 @@ def failed_hook(span, event): """ +from __future__ import annotations + from logging import getLogger from typing import Any, Callable, Collection, TypeVar