JavierLopezT commented on a change in pull request #14853:
URL: https://github.com/apache/airflow/pull/14853#discussion_r596802290
##########
File path: airflow/example_dags/tutorial.py
##########
@@ -89,18 +89,27 @@
# [END basic_task]
# [START documentation]
- dag.doc_md = __doc__
+ with DAG('tutorial',
+ default_args=default_args,
+ schedule_interval=timedelta(days=1)
+ ) as dag:
Review comment:
Because of this:
https://github.com/apache/airflow/pull/14853#issuecomment-801212303
If you go directly to the section, you see this

Seeing that, you can wonder where those lines go, so I think it would be
more useful to have those lines in the context of an entire DAG. If the
tutorial dag must run fine, I think it would be better to include the code as
text or in some other file. WDYT?
----------------------------------------------------------------
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]