flask-demo-api/flask_demo_api/repository/config.py

7 lines
123 B
Python
Raw Normal View History

2024-04-15 04:02:47 +03:00
from dataclasses import dataclass
@dataclass(frozen=True)
class RedisSettings:
2024-04-16 01:03:02 +03:00
url: str = "redis://localhost:6379/0"