def _expand_tsks(tsks_lst):
    ' Loops over the driver task list and checks if each task is a\n        macro-task that should be expanded into sub-tasks.\n\n            Right now, it splits all obj tasks into spc and ts\n\n        :param tsk_lst: list of tasks to run for some driver\n        :type tsk_lst: tuple(tuple(str/dict))\n        :rtype: tuple(str/dict)\n    '
    mod_tsks_lst = []
    for tsk_lst in tsks_lst:
        [obj, tsk, dct] = tsk_lst
        objs = (['spc', 'ts'] if (obj == 'all') else [obj])
        for obj in objs:
            mod_tsks_lst.append([obj, tsk, dct])
    return mod_tsks_lst
Loops over the driver task list and checks if each task is a
macro-task that should be expanded into sub-tasks.

    Right now, it splits all obj tasks into spc and ts

:param tsk_lst: list of tasks to run for some driver
:type tsk_lst: tuple(tuple(str/dict))
:rtype: tuple(str/dict)
def _expand_tsks(tsks_lst):
    ' Loops over the driver task list and checks if each task is a\n        macro-task that should be expanded into sub-tasks.\n\n            Right now, it splits all obj tasks into spc and ts\n\n        :param tsk_lst: list of tasks to run for some driver\n        :type tsk_lst: tuple(tuple(str/dict))\n        :rtype: tuple(str/dict)\n    '
    mod_tsks_lst = []
    for tsk_lst in tsks_lst:
        [obj, tsk, dct] = tsk_lst
        objs = (['spc', 'ts'] if (obj == 'all') else [obj])
        for obj in objs:
            mod_tsks_lst.append([obj, tsk, dct])
    return mod_tsks_lst