17 lines
359 B
Python
17 lines
359 B
Python
import logging
|
|
import shutil
|
|
import time
|
|
from datetime import datetime
|
|
from airflow import DAG
|
|
from airflow.decorators import task
|
|
|
|
log = logging.getLogger(__name__)
|
|
|
|
with DAG(
|
|
dag_id='example_python_operator',
|
|
schedule_interval="*/1 * * * *",
|
|
start_date=datetime(2021, 1, 1),
|
|
catchup=False,
|
|
tags=['example'],
|
|
) as dag:
|
|
print('success') |