This file contains 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
import requests | |
from datetime import datetime, timedelta | |
from airflow import DAG | |
from airflow.models import Variable | |
from airflow.operators.python_operator import PythonOperator | |
from airflow.operators.postgres_operator import PostgresOperator | |
from airflow.hooks.postgres_hook import PostgresHook | |
from airflow.contrib.operators.slack_webhook_operator import SlackWebhookOperator |