Duplicated from moriire/OpenGenAI
1b1f1b0
1
2
3
4
5
6
7
8
9
import os from pydantic import BaseSettings, Field class Settings(BaseSettings): db_url: str = Field(..., env='DATABASE_URL') settings = Settings()