Logo
Explore Help
Register Sign In
yujunjun/datahub
2
0
Fork 0
You've already forked datahub
mirror of https://github.com/datahub-project/datahub.git synced 2025-07-04 07:34:44 +00:00
Code Issues Packages Projects Releases Wiki Activity
datahub/metadata-ingestion/examples/library/dataset_query_description.py

11 lines
249 B
Python
Raw Normal View History

docs(sdk): update some examples with the new SDK (#12933)
2025-03-21 16:00:05 -07:00
from datahub.sdk import DataHubClient, DatasetUrn
feat: add missing python sdk guides based on DatahubGraph (#7875) Co-authored-by: socar-dini <dini@socar.kr> Co-authored-by: Shirshanka Das <shirshanka@apache.org>
2023-05-03 07:32:23 +09:00
docs(sdk): update some examples with the new SDK (#12933)
2025-03-21 16:00:05 -07:00
client = DataHubClient.from_env()
feat: add missing python sdk guides based on DatahubGraph (#7875) Co-authored-by: socar-dini <dini@socar.kr> Co-authored-by: Shirshanka Das <shirshanka@apache.org>
2023-05-03 07:32:23 +09:00
docs(sdk): update some examples with the new SDK (#12933)
2025-03-21 16:00:05 -07:00
dataset = client.entities.get(
DatasetUrn(platform="hive", name="fct_users_created", env="PROD")
)
feat: add missing python sdk guides based on DatahubGraph (#7875) Co-authored-by: socar-dini <dini@socar.kr> Co-authored-by: Shirshanka Das <shirshanka@apache.org>
2023-05-03 07:32:23 +09:00
docs(sdk): update some examples with the new SDK (#12933)
2025-03-21 16:00:05 -07:00
# Print the dataset description
print(dataset.description)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 360ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API