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-06-27 05:03:31 +00:00
Code Issues Packages Projects Releases Wiki Activity
datahub/metadata-ingestion/examples/library/dataset_query_domain.py

11 lines
239 B
Python
Raw Permalink 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 domain
print(dataset.domain)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 801ms Template: 26ms
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