Lineage Diff
Trigger Lineage Diff report and wait until report is returned
# First party modules
from paradime import Paradime
# Create a Paradime client with your API credentials
paradime = Paradime(api_endpoint="API_ENDPOINT", api_key="API_KEY", api_secret="API_SECRET")
# Replace with all the arguments to generate the lineage diff report
BOLT_RUN_ID = 12345
PULL_REQUEST_NUMBER = 24
USER_EMAIL = "[email protected]"
CHANGED_FILES = ["dbt/models/marts/core/order_items.sql", "dbt/models/marts/core/new_model.sql"]
# Trigger lineage diff report and wait until completed
report = paradime.lineage_diff.trigger_report_and_wait(
bolt_run_id=BOLT_RUN_ID,
pull_request_number=PULL_REQUEST_NUMBER,
user_email=USER_EMAIL,
changed_file_paths=CHANGED_FILES,
)Report object details
Last updated
Was this helpful?