This is an automated email from the ASF dual-hosted git repository. utkarsharma pushed a commit to branch v2-9-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit be1c93ec5e84b135cba25f707342a8d87d405b07 Author: bangjiehan <[email protected]> AuthorDate: Sun Jun 9 04:37:00 2024 +0800 Fix highlight of example code in dags.rst (#40114) highlight task_group decorator and dependency between task and task group. (cherry picked from commit 340d6b0dde6abcbfb7e440052bc9e9d771d014da) --- docs/apache-airflow/core-concepts/dags.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/apache-airflow/core-concepts/dags.rst b/docs/apache-airflow/core-concepts/dags.rst index 6580472b98..836b5cef8c 100644 --- a/docs/apache-airflow/core-concepts/dags.rst +++ b/docs/apache-airflow/core-concepts/dags.rst @@ -550,7 +550,7 @@ Unlike :ref:`concepts:subdags`, TaskGroups are purely a UI grouping concept. Tas Dependency relationships can be applied across all tasks in a TaskGroup with the ``>>`` and ``<<`` operators. For example, the following code puts ``task1`` and ``task2`` in TaskGroup ``group1`` and then puts both tasks upstream of ``task3``: .. code-block:: python - :emphasize-lines: 10 + :emphasize-lines: 4,12 from airflow.decorators import task_group
