josh-fell commented on code in PR #25604:
URL: https://github.com/apache/airflow/pull/25604#discussion_r953105640


##########
airflow/example_dags/example_xcom.py:
##########
@@ -79,8 +79,8 @@ def pull_value_from_bash_push(ti=None):
     bash_pull = BashOperator(
         task_id='bash_pull',
         bash_command='echo "bash pull demo" && '
-        f'echo "The xcom pushed manually is 
{bash_push.output["manually_pushed_value"]}" && '
-        f'echo "The returned_value xcom is {bash_push.output}" && '
+        f'echo "The xcom pushed manually is {XComArg(bash_push, 
key="manually_pushed_value")}" && '
+        f'echo "The returned_value xcom is {XComArg(bash_push)}" && '

Review Comment:
   Yeah, it might be better to be consistent. There are some other places I 
need to clean that up to use `XComArg()` throughout rather than `.output` for 
now. Is that cool?



-- 
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]

Reply via email to