src/dazzle_back/email/blob_store.py¶
Generated: 2026-03-30T04:38:45.924616+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_back
Purpose¶
Blob storage for email content.
Stores raw email content and attachments separately from events. Events contain pointers to blobs, not the content itself.
Implementations: - LocalBlobStore: File-based for development - S3BlobStore: AWS S3 for production
Key Exports¶
BlobMetadataBlobStoreLocalBlobStoreS3BlobStoreget_blob_storestoreretrievedeleteget_metadataexistsinitializestoreretrievedeleteget_metadataexistsinitializestoreretrievedelete
Dependencies¶
Imports¶
__future__.annotationshashlibjsonloggingosuuidabc.ABCabc.abstractmethoddataclasses.dataclassdatetime.UTCdatetime.datetimepathlib.Pathtyping.TYPE_CHECKINGtyping.Anyboto3
Event Interactions¶
None detected.
Invariants and Assumptions¶
-
S3 metadata must be strings¶
- Validates: DAZZLE_S3_BUCKET environment variable required for S3 blob store
Tests¶
No related tests found.
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.