hterik opened a new issue, #39944:
URL: https://github.com/apache/airflow/issues/39944

   ### Apache Airflow version
   
   2.9.1
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   1. Try to make a DAG following the example on 
https://airflow.apache.org/docs/apache-airflow/2.9.1/core-concepts/taskflow.html#taskflow
   2. Run `mypy` in strict mode on this DAG (mypy version 1.10.0)
   3. mypy fails with error 
       ```
       example.py:20 error: Value of type "XComArg" is not indexable  [index]
       example.py:21 error: Value of type "XComArg" is not indexable  [index]
   ```
   
   
   ### What you think should happen instead?
   
   Mypy should allow usage of `XComArgs` using `multiple_outputs=True`
   
   ### How to reproduce
   
   See above
   
   ### Operating System
   
   Ubuntu 24.04
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other Docker-based deployment
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   Possibly related to https://github.com/apache/airflow/issues/39514 
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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: commits-unsubscr...@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to