feat(jobs): add resumable preprocessing envelope

This commit is contained in:
2026-07-12 03:58:37 +02:00
parent 11e7ee9ea6
commit a4acee4c70
7 changed files with 612 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
"""Shared execution envelope for resumable preprocessing jobs."""
from tht.jobs.locking import JobAlreadyRunningError, WorkspaceJobLock
from tht.jobs.models import JobReport, JobRun, JobSpec
from tht.jobs.runner import JobContext, run_job
__all__ = [
"JobAlreadyRunningError",
"JobContext",
"JobReport",
"JobRun",
"JobSpec",
"WorkspaceJobLock",
"run_job",
]