You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/01/29 18:26:58 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #13968: Updated taskflow api doc to show dependency with sensor

kaxil commented on a change in pull request #13968:
URL: https://github.com/apache/airflow/pull/13968#discussion_r567011891



##########
File path: docs/apache-airflow/tutorial_taskflow_api.rst
##########
@@ -177,6 +177,40 @@ is automatically set to true.
 Note, If you manually set the ``multiple_outputs`` parameter the inference is disabled and
 the parameter value is used.
 
+Adding dependencies to decorated tasks from regular tasks
+---------------------------------------------------------
+The above tutorial shows how to create dependencies between python-based tasks. However, it is
+quite possible while writing a DAG to have some pre-existing tasks such as BashOperator or FileSensor

Review comment:
       ```suggestion
   quite possible while writing a DAG to have some pre-existing tasks such as :class:`~airflow.operators.bash.BashOperator` or :class:`~airflow.sensors.filesystem.FileSensor`
   ```




----------------------------------------------------------------
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:
users@infra.apache.org