16 lines
389 B
Python
16 lines
389 B
Python
import os
|
|
from pydantic_settings import BaseSettings
|
|
|
|
class AppSettings():
|
|
NAME: str = "myapp"
|
|
|
|
class Config:
|
|
env_file = ".myapp.env"
|
|
env_file_encoding = "utf-8"
|
|
|
|
APPLICATION_ACTIVITY_LOG: str = "myapp-application-activity"
|
|
USER_ACTIVITY_LOG: str = "myapp-user-activity"
|
|
BUSINESS_METRIC_LOG: str = "myapp-business-metrics"
|
|
|
|
app_settings = AppSettings()
|