You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/03/10 18:45:08 UTC

[GitHub] [airflow] josh-fell commented on a change in pull request #22157: Fix RedshiftDataOperator and update doc

josh-fell commented on a change in pull request #22157:
URL: https://github.com/apache/airflow/pull/22157#discussion_r824040379



##########
File path: airflow/providers/amazon/aws/example_dags/example_redshift_data_execute_sql.py
##########
@@ -40,29 +40,26 @@
 POLL_INTERVAL = 10
 
 
-# [START howto_redshift_data]
-@dag(
-    dag_id='example_redshift_data',
-    schedule_interval=None,
-    start_date=datetime(2021, 1, 1),
-    dagrun_timeout=timedelta(minutes=60),
-    tags=['example'],
-    catchup=False,
-)

Review comment:
       Why update away from the `@dag` decorator? More curiosity than a suggestion.




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org