pssecret-server/pssecret/settings.py
Ivan Golikov 8266c95cd9 Integration tests (#3)
Reviewed-on: root/pssecret#3
Co-authored-by: Ivan Golikov <root@ivnglkv.me>
Co-committed-by: Ivan Golikov <root@ivnglkv.me>
2025-01-01 18:18:38 +00: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()