mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-04 15:50:14 +00:00
10 lines
213 B
Python
10 lines
213 B
Python
from datahub.sdk import DataHubClient, DatasetUrn
|
|
|
|
client = DataHubClient.from_env()
|
|
|
|
dataset = client.entities.get(
|
|
DatasetUrn(platform="hive", name="realestate_db.sales", env="PROD")
|
|
)
|
|
|
|
print(dataset.terms)
|