Files
api-inventario/app/config.py
2026-04-11 03:58:19 +00:00

14 lines
271 B
Python

from pydantic_settings import BaseSettings
class Settings(BaseSettings):
DATABASE_URL: str = "postgresql://user:pass@localhost:5432/inventario"
DEBUG: bool = False
API_VERSION: str = "v1"
class Config:
env_file = ".env"
settings = Settings()