ephraimbuddy commented on pull request #16823:
URL: https://github.com/apache/airflow/pull/16823#issuecomment-981329153


   @Idacey, for custom operators, if you are pushing XComs with `ti.xcom_push`, 
you can specify a key. Then you can wrap your operator instance with XComArg 
specifying the key to pull. e.g
   ```python
   xcom_arg = XComArg(custom_op, key=`extract_files`)
   ```
   instead of 
   ```python
   xcom_arg = custom_op.output
   ```


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