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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file badook-airflow-0.2.0rc0.tar.gz.

File metadata

  • Download URL: badook-airflow-0.2.0rc0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.9.10 Linux/5.11.0-1027-azure

File hashes

Hashes for badook-airflow-0.2.0rc0.tar.gz
Algorithm Hash digest
SHA256 92ed1a460599b80aeba1e9420a13922ca1b48cebff532d4039fc6ca55a3d148a
MD5 57dc8f699d1730a9c6ec24beedcede3b
BLAKE2b-256 b42deeff72c1e975db23e4811803be12f84f40aaa78b63d48665b547d86bd2d1

See more details on using hashes here.

File details

Details for the file badook_airflow-0.2.0rc0-py3-none-any.whl.

File metadata

  • Download URL: badook_airflow-0.2.0rc0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.9.10 Linux/5.11.0-1027-azure

File hashes

Hashes for badook_airflow-0.2.0rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd100ee66a2a13720abe7bf6baeed57858f6fdc3999b9aa7e677c532742260f4
MD5 6d872f420846de739144b591788a7088
BLAKE2b-256 7b2b5482838ab96eee9dc9223b9ddac6c1eb9eed2b393a357b3234b1b9fbc012

See more details on using hashes here.

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