hopsworks.core.dashboard_api #
DashboardApi #
REST wrapper over /project/{id}/dashboards.
HTTP calls go through :mod:hopsworks_common.core.rest so this module does not reach into the SDK's private client surface (_send_request / _project_id).
Returned by
add_chart #
Attach an existing chart to a dashboard.
The backend represents membership by embedding the chart list in the dashboard, so we fetch, mutate, and PUT.
| PARAMETER | DESCRIPTION |
|---|---|
dashboard_id | Dashboard identifier. TYPE: |
chart_id | Chart identifier to attach. TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
dict[str, Any] | The updated dashboard dict. |
create_dashboard #
delete_dashboard #
delete_dashboard(dashboard_id: int) -> None
Delete a dashboard by ID.
| PARAMETER | DESCRIPTION |
|---|---|
dashboard_id | Dashboard identifier. TYPE: |