cadrumo.application.modelo.edit_receipt_ports module¶
Application-owned capability for co-committing Modelo edit receipts.
The edit executor creates the receipt DTO and asks this narrow capability for the secure-object write that accompanies the calculation revision. The encrypted repository and its storage failures remain in the outer adapter; only this application DTO, the core write value, and the translated failure cross the boundary.
- exception ModeloEditReceiptPersistenceError(operation)[source]¶
Bases:
CadrumoErrorTranslated failure from the edit-receipt persistence capability.
- Parameters:
operation (str)
- Return type:
None
- code¶
- class ModeloEditReceiptRepositoryPort(*args, **kwargs)[source]¶
Bases:
ProtocolRequired co-commit preparation capability for one Modelo edit.
- to_secure_object_write(payload)[source]¶
Prepare the receipt write without committing it.
- Return type:
- Parameters:
payload (ModeloEditMutationResultReceiptV1)