Skip to main content
Prerequisites:
This page documents a deprecated version of the Lineage Diff API. The repository_name, base_commit_sha, and head_commit_sha parameters shown below have been removed from the current SDK, which now uses a bolt_run_id parameter instead. See the current Lineage Diff page for the up-to-date API.
The Lineage Diff module allows you to easily interact with Paradime Lineage Diff feature to trigger, generate and return column level lineage reports.

Trigger Lineage Diff report and wait until report is returned

Triggers a lineage diff report for the specified parameters and wait until generation is completed.
str
required
The email of the user triggering the report (pull request author).
int
required
The number of the pull request.
str
required
The full name of the repository. E.g. “paradime-io/jaffle-shop”.
str
required
The SHA of the base commit.
str
required
The SHA of the head commit.
List[str]
required
A list of file paths that have changed in the pull request.
Report
The lineage diff report.

Report object details

The report object provides several options that can be selected with the following attributes:
  • message: A string containing details of the report status.
  • status: Indicates the status of the operation or request.
  • url: A string representing a URL to the Bolt schedule compiling the two git branches.
  • uuid: A unique identifier for the report.
  • result_json: Contains the result in JSON format.
  • result_markdown: Provides the result in Markdown format.