GitHub user potiuk added a comment to the discussion: How to modify data before 
passing it from one task to the other

I think what you are trying to do is to use inputs/outputs in DAG rather than 
in TASKS. You cannot print "inputs" and "outputs" at the moment when DAG is 
created (i.e. when the python file of yours is parsed) - but you have to do it 
when your tasks are EXECUTED. so any manipultion of the outputs you receive as 
inputs have to be done inside the `@task` annotaded method - because those 
methods are actually executed (and parameters are resolved) when particular 
task is run.

GitHub link: 
https://github.com/apache/airflow/discussions/49947#discussioncomment-13047475

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to