TalentTalkPro / backend /core /config.py
Param2121's picture
Refactor: Move project to root of repository
3abfc90
Raw
History Blame Contribute Delete
329 Bytes
from pydantic_settings import BaseSettings
from functools import lru_cache
class Settings(BaseSettings):
APP_NAME: str = "TalentTalk Pro"
GOOGLE_API_KEY: str
DATABASE_URL: str = "sqlite:///./data/talenttalk.db"
class Config:
env_file = ".env"
@lru_cache()
def get_settings():
return Settings()