from app.core.config import settings


class RedisRepository:
    """
    Stub minimal Redis (optionnel).
    """

    def __init__(self):
        self.url = settings.redis_url

    async def ping(self) -> bool:
        return True