/dbt_python_client

Python client that uploads a folder with dbt files (dbt_project.yml, run_results.json, manifest.json) to s3 via a REST endpoint

Primary LanguagePythonMIT LicenseMIT

Revefi DBT Python Client

Install and Test CodeQL codecov

Revefi integrates with dbt Core to help connect the dots between your data issues and your dbt models [e.g. model code changes].

Pre-requisites

  • Python 3.8 or higher

Set up the integration:

  • Run the following command to install the revefi-dbt-client package

    pip install git+https://github.com/revefi/dbt_python_client.git
  • Separately, you will have received a Revefi Auth token; keep that in a secure place (like your password manager)

  • Once installed, run the following command in the terminal

    revefi-dbt-client --token <auth-token> --project_folder <project-folder>

    where

    • <auth-token> is the token you received in Step b) above
    • <project-folder> is the Project folder you have created for the dbt.

Note

  • The uploader assumes that the dbt target path is set to target within the project folder. If you are using some other target path, you may override the default behavior with --target_folder <target-folder>