turbaszek commented on issue #8052:
URL: https://github.com/apache/airflow/issues/8052#issuecomment-619423729


   Should "normal" operators be also XComArgs? 
   
   Once we have functional operators, should I as a user expect this DAG to 
work? 
   ```python
   with DAG("example"):
       op1 = CreateClusterOperator("op", ...)
       op2 = RunJobOperator("op2", cluster_name=op1)
   
   # Or with custom XCom key
   
   with DAG("example"):
       op1 = CreateClusterOperator("op", ...)
       op2 = RunJobOperator("op2", cluster_name=op1["cluster_id"])
   ```
   If no, why not?
   
   
   
       


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


Reply via email to