cadrumo.adapters.persistence.profile.notification_documents module

The canonical secure repository for notification documents in custody.

One definition, because two entrypoints need it. The CLI composes it to fetch and store documents behind a notificación; the TUI reads it to count what is already in custody, which is how AEAT Sync tells “nothing has been pulled” apart from “nothing is there”. Building it a second time in the TUI would put the namespace, object key and two error factories in two places, and a divergence between them would be a read pointed at a store nothing writes.

notification_document_repository(bucket_id, settings)[source]

Return the secure repository holding one bucket’s notification documents.

Return type:

SecureSnapshotRepository[NotificationDocumentRecord]

Parameters: