def normalize_callable(ref):
    if isinstance(ref, tuple):
        return list(ref)
    return [ref, (), {}]

# Actions
return a list with (callabe, *args, **kwargs)
dataset/ETHPy150Open pydoit/doit/doit/action.py/normalize_callable