Skip to content

JobCleanupPlan

JobCleanupPlan dataclass

JobCleanupPlan(job_id: str, scratch: tuple[str, str] | None, archive: tuple[str, str] | None)

Validated remote output locations reviewed before destructive cleanup.

Attributes:

Name Type Description
job_id str

Provider UUID.

scratch tuple[str, str] | None

Scratch system ID and absolute directory.

archive tuple[str, str] | None

Archive system ID and absolute directory.

Note

Obtain this from cleanup_plan(); do not invent paths. Merely creating or inspecting a plan deletes nothing. cleanup() revalidates it before deletion.