feat: plantilla base workspace SaaS
Some checks failed
Build Producción & Push a Harbor / test (push) Failing after 3s
Build Producción & Push a Harbor / build (push) Has been skipped
Aduanasoft/plantillas-proyectos/pipeline/head There was a failure building this commit

This commit is contained in:
2026-07-21 13:59:00 -05:00
commit bdd089954b
470 changed files with 70022 additions and 0 deletions

41
backend/core/__init__.py Normal file
View File

@@ -0,0 +1,41 @@
"""
Core module - Configuración y utilidades centrales de la aplicación
"""
from .config import settings
from .database import (
Base,
get_async_core_db,
get_core_db,
get_tenant_db,
init_async_db,
init_db,
scoped_async_core_db,
scoped_core_db,
set_rls_context,
)
from .security import (
get_current_active_user,
get_current_user,
get_tenant_from_token,
has_role,
verify_token,
)
__all__ = [
"settings",
"Base",
"get_core_db",
"get_async_core_db",
"get_tenant_db",
"scoped_core_db",
"scoped_async_core_db",
"set_rls_context",
"init_db",
"init_async_db",
"verify_token",
"get_current_user",
"get_current_active_user",
"has_role",
"get_tenant_from_token",
]