MedAI / config.py
moriire's picture
Rename app/config.py to config.py
87469a7 verified
raw
history blame
223 Bytes
import os
#from pydantic import BaseSettings, Field
from pydantic_settings import BaseSettings
from pydantic import Field
class Settings(BaseSettings):
db_url: str = Field(..., env='DATABASE_URL')
settings = Settings()