Skip to main content

Apache Airflow integration for badook tests

Project description

badook Airflow

Dag code example:

from airflow import DAG
from airflow.utils.dates import days_ago

from badook_airflow.operators.badook_operator import BadookTestOperator


default_args = {
    'owner': 'airflow',
    'start_date': days_ago(0)
}

with DAG(
    dag_id='badook_test_runner',
    default_args=default_args,
    schedule_interval='@once'
) as dag:
    badook_test = BadookTestOperator(
        target_directory='test_dir',
        data_cluster_url='https://test.url',
        management_cluster_url='https://test.managment.url',
        client_id='APIKEY',
        client_secret='SECRETKEY',
        task_id="run_tests"
    )
    badook_test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

badook-airflow-0.2.0rc0.tar.gz (7.4 kB view hashes)

Uploaded Source

Built Distribution

badook_airflow-0.2.0rc0-py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page