Skip to content

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:

failed_task_count¤

failed_task_count: int = Field(alias='failedTaskCount', default=0)

failed_tasks¤

failed_tasks: list[FailedTasksReport] = Field(alias='failedTasks', default_factory=list)

model_config¤

model_config = ConfigDict(extra='allow', populate_by_name=True)

project_id¤

project_id: str = Field(alias='projectId')

project_label¤

project_label: str | None = Field(alias='projectLabel', default=None)

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.

failed_project_count¤

failed_project_count: int = Field(alias='failedProjectCount', default=0)

failed_task_count¤

failed_task_count: int = Field(alias='failedTaskCount', default=0)

model_config¤

model_config = ConfigDict(extra='allow', populate_by_name=True)

project_count¤

project_count: int = Field(alias='projectCount', default=0)

projects¤

projects: list[ProjectStatus] = Field(default_factory=list)

Comments