pssecret-server/pssecret_server/settings.py

11 lines
217 B
Python
Raw Normal View History

from pydantic import RedisDsn
from pydantic_settings import BaseSettings
2022-12-17 08:53:50 +00:00
class Settings(BaseSettings):
redis_url: RedisDsn = RedisDsn("redis://localhost")
2022-12-17 08:53:50 +00:00
def get_settings() -> Settings:
return Settings()