mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-03 23:28:11 +00:00
8 lines
296 B
Python
8 lines
296 B
Python
from datahub.sdk import DataHubClient, DatasetUrn, GlossaryTermUrn
|
|
|
|
client = DataHubClient.from_env()
|
|
|
|
dataset = client.entities.get(DatasetUrn(platform="hive", name="realestate_db.sales"))
|
|
dataset.set_terms([GlossaryTermUrn("Classification.HighlyConfidential")])
|
|
client.entities.update(dataset)
|