

def execute(self, *args, **kwargs):
    if self.return_tuple:
        return tuple(range(len(self.provides)))
    else:
        return dict(((k, k) for k in self.provides))

dataset/ETHPy150Open openstack/taskflow/taskflow/tests/utils.py ProvidesRequiresTask.execute/original