josh-fell commented on a change in pull request #16872:
URL: https://github.com/apache/airflow/pull/16872#discussion_r666620538
##########
File path: airflow/providers/http/example_dags/example_http.py
##########
@@ -26,17 +26,20 @@
from airflow.providers.http.sensors.http import HttpSensor
from airflow.utils.dates import days_ago
-default_args = {
- 'owner': 'airflow',
- 'depends_on_past': False,
- 'email': ['[email protected]'],
- 'email_on_failure': False,
- 'email_on_retry': False,
- 'retries': 1,
- 'retry_delay': timedelta(minutes=5),
-}
-
-dag = DAG('example_http_operator', default_args=default_args,
tags=['example'], start_date=days_ago(2))
+dag = DAG(
+ 'example_http_operator',
+ default_args={
+ 'owner': 'airflow',
+ 'depends_on_past': False,
+ 'email': ['[email protected]'],
+ 'email_on_failure': False,
+ 'email_on_retry': False,
Review comment:
Updated as suggested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]