Creating and Inserting Data Products in Datahub using Python SDK and React App Integration

Original Slack Thread

I’m trying to insert a Data Product (not a Data Set) into Datahub using the Python SDK. I’m using DataHub v0.13.0. I don’t want to use the DataHub CLI because I want to eventually insert Data Products using a form that calls on a backend API that contains the emitter. Can we even make a Data Product URN with mce_builder? Is this possible in Python?

Hey there! :wave: Make sure your message includes the following information if relevant, so we can help more effectively!

  1. Are you using UI or CLI for ingestion?
  2. Which DataHub version are you using? (e.g. 0.12.0)
  3. What data source(s) are you integrating with DataHub? (e.g. BigQuery)

I want to use UI. I am using v0.13.0. The Data Product will have Assets that are PowerBI reports.

When I say UI, I mean I want to make a React app that calls on a backend API (Python) to run code that inserts a data product (field values taken from the React app).