43 lines
1.2 KiB
Python
43 lines
1.2 KiB
Python
"""SQLAlchemy persistence models.
|
|
|
|
Importing this package registers every model on ``Base.metadata``, which the
|
|
Alembic environment relies on.
|
|
"""
|
|
|
|
from photo_pipeline.models.albums import AlbumProposal
|
|
from photo_pipeline.models.archives import ArchiveLocation, ArchiveOperation, ArchivePlan
|
|
from photo_pipeline.models.assets import Asset, AssetPath
|
|
from photo_pipeline.models.duplicates import (
|
|
DuplicateCluster,
|
|
DuplicateMember,
|
|
DuplicateNegativeLink,
|
|
)
|
|
from photo_pipeline.models.jobs import Job, JobEvent, JobItem
|
|
from photo_pipeline.models.renames import RenameOperation, RenamePlan
|
|
from photo_pipeline.models.thumbnails import Thumbnail
|
|
from photo_pipeline.models.uploads import UploadBatch, UploadItem, UploadVerification
|
|
from photo_pipeline.models.workflow import AnalysisResult, SafetyReview
|
|
|
|
__all__ = [
|
|
"AlbumProposal",
|
|
"ArchiveLocation",
|
|
"ArchiveOperation",
|
|
"ArchivePlan",
|
|
"Asset",
|
|
"AssetPath",
|
|
"DuplicateCluster",
|
|
"DuplicateMember",
|
|
"DuplicateNegativeLink",
|
|
"Job",
|
|
"JobItem",
|
|
"JobEvent",
|
|
"RenamePlan",
|
|
"RenameOperation",
|
|
"Thumbnail",
|
|
"UploadBatch",
|
|
"UploadItem",
|
|
"UploadVerification",
|
|
"SafetyReview",
|
|
"AnalysisResult",
|
|
]
|