Initiate Data Review in Nominal with Python
Data review is the process of:
- Applying a checklist to a run
- Reviewing time ranges where checks were violated
- Determining if violations should be ignored or require further action
Read more on data review in the platform guide
In this guide, we focus on Step 1: Applying a checklist to a run using the Nominal Python client.
Prerequisites
Make sure you have the nominal Python package installed. You can install it using:
Connect to Nominal
Get your Nominal API token from your User settings page.
See the Quickstart for more details on connecting to Nominal from Python.
Applying Checklists to Runs
Nominal allows you to apply multiple checklists to multiple runs simultaneously. You can also optionally specify integrations to send notifications if violations are found.
-
Locate or Create Run RIDs
Find the run RID(s) in the platform or create new runs with the Nominal client. Then paste the run RID(s) below.
-
Locate Checklist RIDs and Commits
Find the checklist RID(s) in the platform. You will also need the commit SHA for the version you want to apply (listed under “Latest version”).
-
Optionally, Specify an Integration
If you would like to send notifications when violations occur, you can specify an integration RID. You can find the integration RID in the platform.
-
Apply Checklists Use the Nominal client to create a data review builder, add your integration (optional), and add each request (which associates a run with a checklist). Then initiate the reviews.
That’s it! You have now applied one or more checklists to your runs, and you’ll be able to see any violations that arose.
Retrieving Data Review Results Later
You can retrieve the results of a data review at any time using the nm.get_data_review()
function.