ashb commented on a change in pull request #12271:
URL: https://github.com/apache/airflow/pull/12271#discussion_r521375354
##########
File path: airflow/example_dags/tutorial_taskflow_api_etl.py
##########
@@ -45,22 +35,23 @@
# [END default_args]
# [START instantiate_dag]
-with DAG(
- 'tutorial_taskflow_api_etl_dag',
- default_args=default_args,
- description='TaskFlow API ETL DAG tutorial',
- schedule_interval=None,
- start_date=days_ago(2),
- tags=['example'],
-) as dag:
- # [END instantiate_dag]
-
+@dag(default_args=default_args, schedule_interval=None, start_date=days_ago(2))
+# [END instantiate_dag]
+def tutorial_taskflow_api_etl():
# [START documentation]
Review comment:
We'll need to see how this renders in context -- we may need to make it
clearer what this does
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]