kaxil commented on a change in pull request #10587:
URL: https://github.com/apache/airflow/pull/10587#discussion_r510918411
##########
File path: docs/concepts.rst
##########
@@ -162,6 +162,32 @@ Example DAG with decorated style
html_content=email_info['body']
)
+DAG decorator
+-------------
+
+.. versionadded:: 2.0.0
+
+In addition to creating DAGs using context managed, in Airflow 2.0 you can
also create DAGs from a function.
Review comment:
```suggestion
In addition to creating DAGs using context manager, in Airflow 2.0 you can
also create DAGs from a function.
```
----------------------------------------------------------------
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]