import os from pydantic_settings import BaseSettings class AppSettings(BaseSettings): NAME: str = "notification" RABBITMQ_HOST: str = "rabbitmq" RABBITMQ_PORT: int = 5672 SYSTEM_USER_ID: str = "" SMS_FROM: str = "" EMAIL_FROM: str = "" SENDGRID_API_KEY: str = "" TWILIO_ACCOUNT_SID: str = "" TWILIO_AUTH_TOKEN: str = "" class Config: env_file = ".myapp.env" env_file_encoding = "utf-8" app_settings = AppSettings()