kaxil commented on a change in pull request #14853:
URL: https://github.com/apache/airflow/pull/14853#discussion_r596785065
##########
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:
- t1.doc_md = dedent(
- """\
- #### Task Documentation
- You can document your task using the attributes `doc_md` (markdown),
- `doc` (plain text), `doc_rst`, `doc_json`, `doc_yaml` which gets
- rendered in the UI's Task Instance Details page.
-

- """
- )
- # [END documentation]
+ t1 = BashOperator(
+ task_id='print_date',
+ bash_command='date',
+ )
+ t1.doc_md = dedent(
Review comment:
Same here ! Duplicate of task above
----------------------------------------------------------------
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]