Skip to content

Commit

Permalink
FIx formatting of Dataset inlet/outlet note in TaskFlow concepts (#29678
Browse files Browse the repository at this point in the history
)
  • Loading branch information
josh-fell committed Feb 21, 2023
1 parent e8aa957 commit 9de301d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/apache-airflow/core-concepts/taskflow.rst
Expand Up @@ -91,9 +91,10 @@ need to be able to be serialized. Airflow out of the box supports all built-in t
supports objects that are decorated with ``@dataclass`` or ``@attr.define``. The following example shows the use of
a ``Dataset``, which is ``@attr.define`` decorated, together with TaskFlow.

::
.. note::

An additional benefit of using ``Dataset`` is that it automatically registers as an ``inlet`` in case it is used as an input argument. It also auto registers as an ``outlet`` if the return value of your task is a ``dataset`` or a ``list[Dataset]]``.

Note: An additional benefit of using ``Dataset`` is that it automatically registers as an ``inlet`` in case it is used as an input argument. It also auto registers as an ``outlet`` if the return value of your task is a ``dataset`` or a ``list[Dataset]]``.

.. code-block:: python
Expand Down

0 comments on commit 9de301d

Please sign in to comment.