uranusjr commented on a change in pull request #16866:
URL: https://github.com/apache/airflow/pull/16866#discussion_r687396592
##########
File path: airflow/example_dags/example_xcom.py
##########
@@ -78,6 +104,14 @@ def puller(**kwargs):
pull = PythonOperator(
task_id='puller',
python_callable=puller,
+ op_kwargs={
+ 'pulled_value_1': push1.output['value from pusher 1'],
+ 'pulled_value_3': push2.output,
+ },
Review comment:
What would the existing examples look like if we add the new example? I
think it’d be a good idea to have separate examples demostrating the Taskflow
API and the “traditional” context manager or `Operator(dag=dag)` approach,
since they do have slightly different best practices.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]