pssecret-server/pssecret/settings.py
2025-01-01 19:01:26 +01:00

10 lines
217 B
Python

from pydantic import RedisDsn
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
redis_url: RedisDsn = RedisDsn("redis://localhost")
def get_settings() -> Settings:
return Settings()