first push
This commit is contained in:
13
backend/app/repositories/redis_repository.py
Normal file
13
backend/app/repositories/redis_repository.py
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
||||
Reference in New Issue
Block a user