"""This module contains the Redis models for the ``trainings`` app."""

from mtp.apps.common.limpyd_base import DjangoBackedRedisModelWithLogs

from .models import DjangoTask


class LimpydTask(DjangoBackedRedisModelWithLogs):
    """Redis model for the ``Task`` django model.

    It allows to store in redis the logs for the Celery Task associated with the Django Task.

    """

    django_model = DjangoTask
