cadrumo.application.invoices.source_resolver_ports module¶
Application-owned capabilities for invoice source resolution.
The invoice source-mesh resolver needs only a read projection of the invoice catalogue. The application owns that narrow capability and its translated persistence failure; an outer composition root binds the encrypted repository adapter for each bucket.
Core types:
InvoiceCatalogue.
- exception InvoiceSourcePersistenceError(operation)[source]¶
Bases:
CadrumoErrorTranslated failure while reading the invoice source catalogue.
- Parameters:
operation (str)
- Return type:
None
- code¶
- class InvoiceSourceCatalogueReader(*args, **kwargs)[source]¶
Bases:
ProtocolRead the bucket-bound invoice catalogue used by source resolution.
- class InvoiceSourceResolverPorts(catalogue_reader)[source]¶
Bases:
objectRequired capabilities for one invoice source-mesh resolver.
- Parameters:
catalogue_reader (InvoiceSourceCatalogueReader)
-
catalogue_reader:
InvoiceSourceCatalogueReader¶