From 63e43d5222f6f7fe4c819c9985551f96c232c1b6 Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Thu, 13 Feb 2025 10:38:12 +0100 Subject: [PATCH] [threading] Remove ellipsis from type hints (#3245) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com> Co-authored-by: Riccardo Magliocchetti --- .../src/opentelemetry/instrumentation/threading/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 9488e3ce4..18604d859 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 @@ class ThreadingInstrumentor(BaseInstrumentor): 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)