def get_task(self, task_id):
        try:
            return self.get(task_id=task_id)
        except self.model.DoesNotExist:
            if self._last_id == task_id:
                self.warn_if_repeatable_read()
            self._last_id = task_id
            return self.model(task_id=task_id)
Get task meta for task by ``task_id``.
dataset/ETHPy150Open celery/django-celery/djcelery/managers.py/TaskManager.get_task