def args(task):

    if istask(task):
        return task[1:]
    elif isinstance(task, list):
        return task
    else:
        return ()
Get the arguments for the current task
dataset/ETHPy150Open dask/dask/dask/rewrite.py/args