File size: 382 Bytes
dc0728a
 
 
c6fb015
 
 
 
c3bf538
6ffbf76
dc0728a
 
c6fb015
6ffbf76
dc0728a
c6fb015
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16



from pydantic_settings import BaseSettings, SettingsConfigDict

class Settings(BaseSettings):
    DATABASE_URL: str
    GOOGLE_API_KEY: str

    CELERY_BROKER_URL: str = "redis://localhost:6379/0"
    CELERY_RESULT_BACKEND: str = "redis://localhost:6379/0"


    model_config = SettingsConfigDict(env_file=".env", env_file_encoding='utf-8', extra='ignore')

settings = Settings()