diff --git a/instrumentation/opentelemetry-instrumentation-threading/src/opentelemetry/instrumentation/threading/__init__.py b/instrumentation/opentelemetry-instrumentation-threading/src/opentelemetry/instrumentation/threading/__init__.py index 9488e3ce47..18604d8596 100644 --- a/instrumentation/opentelemetry-instrumentation-threading/src/opentelemetry/instrumentation/threading/__init__.py +++ b/instrumentation/opentelemetry-instrumentation-threading/src/opentelemetry/instrumentation/threading/__init__.py @@ -132,8 +132,8 @@ def _uninstrument_thread_pool(): def __wrap_threading_start( call_wrapped: Callable[[], None], instance: HasOtelContext, - args: ..., - kwargs: ..., + args: tuple[()], + kwargs: dict[str, Any], ) -> None: instance._otel_context = context.get_current() return call_wrapped(*args, **kwargs)