Skip to content

Instantly share code, notes, and snippets.

View thomas-a-neil's full-sized avatar
🐢

Neil Thomas thomas-a-neil

🐢
View GitHub Profile
@thomas-a-neil
thomas-a-neil / test_s3_download.py
Created August 22, 2016 20:59
Sample DAG to download from S3, sleep, and reupload
from airflow import DAG
from airflow.operators.bash_operator import BashOperator
from airflow.operators.python_operator import PythonOperator
from datetime import datetime, timedelta
# default arguments for each task
default_args = {
'owner': 'nthomas',