preview#
Classes:
Job from a delete request that will be deleted or unlinked. |
|
Preview of a project delete operation, including jobs and workspaces that will be deleted. |
|
Preview of a workspace within a project to be deleted. |
|
Preview of a workspace delete operation, including jobs that will be deleted or unlinked and those that will be kept. |
|
Job from a delete request that cannot be deleted and the reasons for it. |
- class DeleteJobPreview#
Job from a delete request that will be deleted or unlinked.
Attributes:
- project_uid: str#
- status: str#
- title: str#
- type: str#
- uid: str#
- workspace_uids: List[str]#
- class DeleteProjectPreview#
Preview of a project delete operation, including jobs and workspaces that will be deleted.
Attributes:
- jobs: List[DeleteJobPreview]#
- workspaces: List[DeleteProjectWorkspacePreview]#
- class DeleteProjectWorkspacePreview#
Preview of a workspace within a project to be deleted.
Attributes:
- project_uid: str#
- title: str | None#
- uid: str#
- class DeleteWorkspacePreview#
Preview of a workspace delete operation, including jobs that will be deleted or unlinked and those that will be kept. If there any kept jobs, the workspace will not be marked as deleted.
Attributes:
Jobs to be deleted.
Jobs that cannot be deleted, either because they are final or have descendants.
Jobs to be unlinked.
- delete: List[DeleteJobPreview]#
Jobs to be deleted.
- jobs: List[DeleteJobPreview]#
- keep: List[KeepJobPreview]#
Jobs that cannot be deleted, either because they are final or have descendants.
- unlink: List[DeleteJobPreview]#
Jobs to be unlinked.
- class KeepJobPreview#
Job from a delete request that cannot be deleted and the reasons for it.
Attributes:
This job's descendant UIDs that cannot be deleted.
Workspaces that contain this job's descendants that cannot be deleted.
Reason for not deleting this job, either "final" because it or one if its descendants is marked a final, or "descendants" because it has children that are not or cannot be deleted.
- descendant_job_uids: List[str]#
This job’s descendant UIDs that cannot be deleted.
- descendant_workspace_uids: List[str]#
Workspaces that contain this job’s descendants that cannot be deleted.
- project_uid: str#
- reason: Literal['final', 'descendants']#
Reason for not deleting this job, either “final” because it or one if its descendants is marked a final, or “descendants” because it has children that are not or cannot be deleted.
- status: str#
- title: str#
- type: str#
- uid: str#
- workspace_uids: List[str]#