aeat.application.aggregation._source_inventory module¶
Source-mesh readiness resolver adapter for inventory.
Provisions the inventory calculation-source surface without enrolling it as a live
calculation source. Inventory is not yet ready to feed registry bindings
(inventory_source_readiness()), so this resolver
resolves NO binding value and emits a blocked-readiness
CalculationSourceDiagnostic. It is deliberately
NOT registered in merge_source_resolutions(): it
exists so the surface is provisioned and its unreadiness is visible rather than a
silent blank (no-dormant-source-resolvers: provision the surface, refuse
visibly). When inventory persistence is hardened, the readiness flips and this
adapter is replaced by a real projecting resolver enrolled in the mesh.
See also
inventory_source_readiness()Application readiness fact that supplies the blocking reason.
CalculationSourceResolutionShared source-mesh envelope returned by this blocked resolver.
_source_fincasSibling readiness adapter for the fincas calculation-source surface.
- class InventorySourceReadinessResolver[source]¶
Bases:
objectRefuse the inventory calculation source visibly until it is ready.
Owns no live binding source (
owned_sources = ()) because inventory is not enrolled as a calculation source.resolve()returns an empty resolution carrying a blocked-readiness diagnostic whenever inventory is not ready.- resolver_id¶
-
owned_sources:
tuple[BindingSourceKind,...]¶
- resolve(context)[source]¶
Return an empty resolution plus a blocked-readiness diagnostic when unready.
- Parameters:
context (
CalculationSourceContext) – The calculation source context. Unused: inventory readiness is a context-independent fact (unready regardless of modelo or period).- Return type:
- Returns:
A
CalculationSourceResolutionthat resolves no binding value and carries onesource_domain_not_readydiagnostic while inventory is not ready.