MedAI / config.py
moriire's picture
Update config.py
14f0b06 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()