def _add_task(self, *args, **kwargs):
        task_id = kwargs['task_id']
        status = kwargs['status']
        runnable = kwargs['runnable']
        task = self._scheduled_tasks.get(task_id)
        if task:
            msg = (task, status, runnable)
            self._add_task_history.append(msg)
        self._scheduler.add_task(*args, **kwargs)

        logger.info('Informed scheduler that task   %s   has status   %s', task_id, status)
Takes a linted entry and adds errors and warnings
dataset/ETHPy150Open spotify/luigi/luigi/worker.py/Worker._add_task--crossover with--dataset/ETHPy150Open willkg/dennis/dennis/templatelinter.py/TemplateLintRule.lint