mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-04 15:50:14 +00:00
14 lines
361 B
Python
14 lines
361 B
Python
![]() |
from datahub.metadata.urns import TagUrn
|
||
|
from datahub.sdk import Dashboard, DataHubClient
|
||
|
|
||
|
client = DataHubClient.from_env()
|
||
|
|
||
|
dashboard = Dashboard(
|
||
|
name="example_dashboard",
|
||
|
platform="looker",
|
||
|
description="looker dashboard for production",
|
||
|
tags=[TagUrn(name="production"), TagUrn(name="data_engineering")],
|
||
|
)
|
||
|
|
||
|
client.entities.upsert(dashboard)
|