Skip to content

Commit

Permalink
Fix highlight of example code in dags.rst (#40114)
Browse files Browse the repository at this point in the history
highlight task_group decorator and dependency between task and task group.
  • Loading branch information
bangjiehan authored Jun 8, 2024
1 parent 48b6190 commit 340d6b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/apache-airflow/core-concepts/dags.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 340d6b0

Please sign in to comment.