How to Automatically Fetch Lineage Details of an Ingested Database Using Python

Original Slack Thread

Hi everyone,
I am actually looking to get to know how to get lineage details like upstream downstream details of a ingested database automatically using python.
Can u please guide me what I need to do to get those details?

you can use graphql queries to get lineage information with search|searchAcrossLineage(input:|SearchAcrossLineageInput!):

or|entity(urn:|String!):|Entity to get lineage info about a specific entity