Skip to main content
Utilities for dbt.

trim_manifest_json()

Parameters
dict
required
Returns: dict Takes a dbt manifest json and discards all the fields that are not relevant used by the validio platform.
  • Parameters: manifest – The manifest object

upload_artifacts()

Parameters
APIClient | Client
required
Type: Client
str
required
str
required
dict
required
dict | None
required
Returns: None Helper function to upload dbt artifacts. The artifacts are additionally trimmed before uploading.
  • Parameters:
    • client – Client to use for the artifacts upload.
    • credential_id – DBTCore credential id to upload artifacts on behalf of.
    • job_name – Job associated with the artifacts.
    • manifest – manifest.json payload
    • run_results – run_results.json payload