import os from pydantic_settings import BaseSettings class AppSettings(BaseSettings): NAME: str = "notification" APP_NAME:str = NAME RABBITMQ_HOST: str = "" RABBITMQ_PORT: int = 5672 SYSTEM_USER_ID: str = "" SMS_FROM: str = "" EMAIL_FROM: str = "" SECRET_KEY: str = "" SENDGRID_API_KEY: str = "" TWILIO_ACCOUNT_SID: str = "" TWILIO_AUTH_TOKEN: str = "" LOG_BASE_PATH : str = "./log" BACKEND_LOG_FILE_NAME: str = APP_NAME APPLICATION_ACTIVITY_LOG: str = APP_NAME + "-application-activity" class Config: env_file = ".myapp.env" env_file_encoding = "utf-8" app_settings = AppSettings()