[threading] Remove ellipsis from type hints (#3245)

Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
This commit is contained in:
Marcelo Trylesinski 2025-02-13 10:38:12 +01:00 committed by GitHub
parent 95873604ab
commit 63e43d5222
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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)