turbaszek commented on pull request #8652: URL: https://github.com/apache/airflow/pull/8652#issuecomment-630875850
> Okay, but the `email_subject_generator(ip_info)` (vs `email_subject_generator(ip_info.output)` as it has to be _right_ now) It can be `email_subject_generator(ip_info)`. The `.output` is only for operators defined in "old way" (not decorated with `@task`). Calling a function decorated with `@task` returns `XComArg`. Calling an operator returns an instance of this operator. So the `.output` is shorthand for `op.output == XComArg(op)`. But as @casassg says, we can adjust it once we have `@task` because then things will be simpler. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
