This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 0fba1918a7 Improved instructions for adding dependencies in TaskFlow 
(#35406)
0fba1918a7 is described below

commit 0fba1918a73dc8a548ef97d0a484a2053ccfbffd
Author: antti-ngp <[email protected]>
AuthorDate: Fri Nov 3 18:50:57 2023 +0200

    Improved instructions for adding dependencies in TaskFlow (#35406)
    
    Specified explicitly that the TaskFlow function invocation needs to be put 
in a variable before adding a dependency between the function and a traditional 
operator.
---
 docs/apache-airflow/tutorial/taskflow.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/apache-airflow/tutorial/taskflow.rst 
b/docs/apache-airflow/tutorial/taskflow.rst
index 99702a358e..fc7297cd78 100644
--- a/docs/apache-airflow/tutorial/taskflow.rst
+++ b/docs/apache-airflow/tutorial/taskflow.rst
@@ -465,7 +465,8 @@ In the above code block, a new TaskFlow function is defined 
as ``extract_from_fi
 reads the data from a known file location.
 In the main DAG, a new ``FileSensor`` task is defined to check for this file. 
Please note
 that this is a Sensor task which waits for the file.
-Finally, a dependency between this Sensor task and the TaskFlow function is 
specified.
+The TaskFlow function call is put in a variable ``order_data``.
+Finally, a dependency between this Sensor task and the TaskFlow function is 
specified using the variable.
 
 
 Consuming XComs between decorated and traditional tasks

Reply via email to