File size: 223 Bytes
1b1f1b0
5169801
14f0b06
 
1b1f1b0
 
 
 
1
2
3
4
5
6
7
8
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()