How to Perform Schema Ingestion Using Python SDK for JSON Data

Original Slack Thread

Hello All,

I am trying to use python SDK to perform schema ingestion from a URL. As I have been going through the documents I came across python emitter code. But I can’t find any example to load the JSON-schema. I tried JSON-Schema load with the recipe from the UI which seems to be working fine.

Thanks for any help in advance!!

To make sure I understand - the json schema source works as expected from the UI, and now you’d like to ingest many schemas and hence want to use the python SDK?

Yes, you got it right

Hi <@U01GZEETMEZ>, Any suggestion?

You can run ingestion programmatically - here’s an example https://github.com/datahub-project/datahub/blob/master/metadata-ingestion/examples/library/programatic_pipeline.py

Thanks