uranusjr commented on issue #28304:
URL: https://github.com/apache/airflow/issues/28304#issuecomment-1348167478

   Is this specific to `expand_kwargs`? I am under the impression passing 
outlet as XComArg would not work in general since the value needs to be 
accessed in the scheduler.
   
   Say
   
   ```python
   @task()
   def get_outlet():
       return Dataset("s3://dataset-bucket/example.csv")
   
   MyOperator(outlets=[get_outlet()])  # Does this work?
   ```


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