Callable with ... can accept **kwargs: int as shown below:
from collections.abc import Callable
def func(**kwargs: int) -> None:
print(kwargs)
# ↓↓↓
v: Callable[..., None] = func
Now, is there the way with Callable and ** to accept **kwargs: int like Callable with *tuple[int, ...] to accept *args: int as shown below?
from collections.abc import Callable
def func(*args: int) -> None:
print(args)
# ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
v: Callable[[*tuple[int, ...]], None] = func