Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/api_reference/api_inventory.txt
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@ mlflow.entities.WebhookStatus.to_proto
mlflow.entities.WebhookTestResult
mlflow.entities.WebhookTestResult.from_proto
mlflow.entities.WebhookTestResult.to_proto
mlflow.entities.Workspace
mlflow.entities.assessment.Assessment
mlflow.entities.assessment.Expectation
mlflow.entities.assessment.Feedback
Expand Down Expand Up @@ -627,6 +628,7 @@ mlflow.entities.webhook.Webhook
mlflow.entities.webhook.WebhookEvent
mlflow.entities.webhook.WebhookStatus
mlflow.entities.webhook.WebhookTestResult
mlflow.entities.workspace.Workspace
mlflow.evaluate
mlflow.exceptions.get_error_code
mlflow.finalize_logged_model
Expand Down
2 changes: 2 additions & 0 deletions mlflow/entities/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
WebhookStatus,
WebhookTestResult,
)
from mlflow.entities.workspace import Workspace

__all__ = [
"Experiment",
Expand Down Expand Up @@ -125,6 +126,7 @@
"WebhookEvent",
"WebhookStatus",
"WebhookTestResult",
"Workspace",
]


Expand Down
13 changes: 13 additions & 0 deletions mlflow/entities/workspace.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"""Workspace entity shared between server and stores."""

from __future__ import annotations

from dataclasses import dataclass


@dataclass(frozen=True, slots=True)
class Workspace:
"""Minimal metadata describing a workspace."""

name: str
description: str | None = None
Loading
Loading