cmem_client.models.workspace_status¤
Corporate Memory DataIntegration workspace status models.
Models for the aggregated workspace status endpoint
(GET /dataintegration/api/workspace/status), which reports task loading
errors for all projects of the build (DataIntegration) workspace in a single
response. Only projects that have at least one failed task are listed.
Classes:
- ProjectStatus – Loading status of a single project with failed tasks.
- WorkspaceStatus – Aggregated loading status of the whole build (DataIntegration) workspace.
ProjectStatus¤
Bases: Model
Loading status of a single project with failed tasks.
The per-task objects share the shape of the per-project
failedTasksReport endpoint, so the same model is reused.
Attributes:
- project_id (
str) – ID of the project. - project_label (
str | None) – Human readable name of the project, if one is set. - failed_task_count (
int) – How many tasks of the project failed to load. - failed_tasks (
list[FailedTasksReport]) – The failed tasks themselves, with the error of each.
failed_task_count¤
failed_tasks¤
model_config¤
project_id¤
project_label¤
WorkspaceStatus¤
Bases: Model
Aggregated loading status of the whole build (DataIntegration) workspace.
Attributes:
- project_count (
int) – How many projects the workspace holds in total. - failed_project_count (
int) – How many of them have at least one failed task. - failed_task_count (
int) – How many tasks failed to load across all projects. - projects (
list[ProjectStatus]) – The projects with failed tasks. Projects which loaded cleanly are not listed, so this is empty on a healthy workspace.