This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from airflow import DAG | |
from airflow.operators.python_operator import PythonOperator | |
from airflow.hooks.base_hook import BaseHook | |
from airflow.utils.dates import days_ago | |
default_args = { | |
'start_date': days_ago(2) | |
} | |
dag = DAG('test-connection-hook', default_args = default_args, description='Test connection details', schedule_interval='@once') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<project name="server" default="main"> | |
<target name="main"> | |
<echo>Hello World</echo> | |
</target> | |
</project> |