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


   @ephraimbuddy Can I overwrite the default "return_value" key in custom 
operators? 
   
   I have some historical custom keys for certain DAGs. For example, in one 
operator I push a list of files with the key `extract_files` and I also push 
the maximum ID from the database table which is a default `return_value`. Can I 
have my operator return the list of files (extract_files) as an xcom with the 
key `extract_files`? I want to make use of the `.output` feature.
   
   Not a huge deal because I could potentially just rename all of the old xcom 
keys in the database, and replace any references to `extract_files` key in my 
code.


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