From 340d6b0dde6abcbfb7e440052bc9e9d771d014da Mon Sep 17 00:00:00 2001 From: bangjiehan Date: Sun, 9 Jun 2024 04:37:00 +0800 Subject: [PATCH] Fix highlight of example code in dags.rst (#40114) highlight task_group decorator and dependency between task and task group. --- 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 70d566372925e6..5c989bab7af8e6 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