from pydantic_settings import BaseSettings class Settings(BaseSettings): database_url: str = "postgresql://postgres:postgres@localhost:5432/transport" # Event detection settings long_stop_minutes: int = 5 overspeed_limit: float = 60.0 # km/h connection_lost_minutes: int = 5 class Config: env_file = ".env" settings = Settings()