Join Slack
Communities
Powered by
I want to create datahub custom datasets and custo...
# all-things-deployment
b
bright-cpu-56427
06/17/2022, 5:24 AM
I want to create datahub custom datasets and custom charts using python. Is there any way??
b
better-orange-49102
06/17/2022, 5:50 AM
you have 2 ways: 1. use the openAPI method
https://github.com/datahub-project/datahub/blob/master/docs/api/openapi/openapi-usage-guide.md
but you need to figure out how to structure the request 2. use the python library to create and emit to GMS
https://github.com/datahub-project/datahub/blob/master/metadata-ingestion/examples/library/dataset_schema.py
this sample file will create a dataset schema and emit to GMS. (There isnt a example for chart, but it is similar enough to dataset i think) ok, (1) is not really python.
thanks ewe
1
b
bright-cpu-56427
06/17/2022, 6:09 AM
Thanks!!
3
Views
Open in Slack
Previous
Next