The import's catalog matching and commit read the WebApi's catalog, silver batch and table maps; add_resultado moves here

How: `catalog_matching`, `catalog_commit_service` and the imports blueprint import `Catalogo`,
`catalogo_desde_toml`, `ruta_de_catalogo`, `CatalogoInvalido`, `LotePlata`, `valor_de_observacion` and
`tablas_de` from `webapi.orchestration`; the commit writes through `carga_repository.save_load` and
`catalog_repository.sync`. `add_resultado` and its tests come over unchanged from the indicator kit.

Implications: the import path no longer needs the indicator kit, which isn't a dependency.
This commit is contained in:
rockdrigo
2026-11-13 15:23:45 -06:00
parent f183e495fb
commit 113b792a7b
8 changed files with 127 additions and 16 deletions
+3 -3
View File
@@ -6,9 +6,9 @@ and silently drops its value instead.
from datetime import date
import pytest
from indicadores_kit.registry import catalogos
from indicadores_kit.registry.catalogos import Catalogo
from indicadores_kit.tablas import tablas_de
from webapi.orchestration.reference import catalogs as catalogos
from webapi.orchestration.reference.catalogs import Catalogo
from webapi.orchestration.tables import tablas_de
from extraction.nlp import DiscoveredField, Evidence
from webapi.imports.schemas.catalog_matching import match_or_mint