dask / distributed

A distributed task scheduler for Dask
https://distributed.dask.org
BSD 3-Clause "New" or "Revised" License
1.55k stars 712 forks source link

Annotation of positional arguments *args in dask.distributed.Client.submit API (2024.1.1) #8645

Open CielAl opened 1 month ago

CielAl commented 1 month ago

Describe the issue: The current annotation of *args in dask.distributed.Client.submit API (version 2024.1.1) is tuple. While args by itself is indeed a tuple, IIUC, such annotation would usually mean each element obtained from unpacking this list of positional arugments should be exactly a tuple.

python>=3.10