merge-conflic-fix

This commit is contained in:
2026-04-07 08:21:16 -06:00
3 changed files with 57 additions and 28 deletions

View File

@@ -2,7 +2,6 @@
Configuración centralizada de la aplicación usando Pydantic Settings
"""
import os
from typing import List, Literal
from pydantic import field_validator
@@ -14,9 +13,8 @@ class Settings(BaseSettings):
# Application
APP_NAME: str = "Anexo76"
# La versión se obtiene de la variable de entorno APP_VERSION que se pasa desde Docker
# Si no existe, usa un valor por defecto de desarrollo
APP_VERSION: str = os.getenv("APP_VERSION", "dev-local")
# Sobreescribible con APP_VERSION (Dockerfile/Jenkins: build-arg + ENV) o entorno en runtime
APP_VERSION: str = "dev-local"
DEBUG: bool = True
ENVIRONMENT: str = "development"