Skip to content
An Airflow operator for dbt Cloud (formerly Sinter)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
sinter_operator
.gitignore
LICENSE
README.md
setup.py

README.md

Sinter Operator For Airflow

Pre-requisites

To use the SinterOperator, you must have a Sinter API Key. To receive your api key, please contact Sinter support.

Usage

  1. Install this module into the environment where Airflow is running
  2. Create a task that invokes the SinterOperator
from sinter_operator import SinterOperator

SINTER_API_KEY = "..."

# Your Sinter Account ID
ACCOUNT_ID = 123

# Your Sinter Project ID
PROJECT_ID = 456

# The name of the job to run in Sinter
JOB_NAME = "Run"

t1 = SinterOperator(
    task_id='run_sinter',
    token=SINTER_API_KEY,
    account_id=ACCOUNT_ID,
    project_id=PROJECT_ID,
    job_name=JOB_NAME,
    retries=0,
    dag=dag)
You can’t perform that action at this time.