diff --git a/opentelemetry-api/src/opentelemetry/context/contextvars_context.py b/opentelemetry-api/src/opentelemetry/context/contextvars_context.py index bb65516e4f2..589ed58c827 100644 --- a/opentelemetry-api/src/opentelemetry/context/contextvars_context.py +++ b/opentelemetry-api/src/opentelemetry/context/contextvars_context.py @@ -17,7 +17,7 @@ from opentelemetry.context.context import Context, _RuntimeContext if version_info < (3, 7): - import aiocontextvars # pylint: disable=import-error + import aiocontextvars # type: ignore # pylint: disable=import-error aiocontextvars # pylint: disable=pointless-statement