ampx-mg opened a new issue, #39514: URL: https://github.com/apache/airflow/issues/39514
### Apache Airflow version Other Airflow 2 version (please specify below) ### If "Other Airflow 2 version" selected, which one? 2.8.1 ### What happened? Ever since upgrading to 2.8.1. from 2.7.3. we are experiencing a number of mypy errors regarding arg types, mainly ``` error: Argument 1 has incompatible type "XComArg"; expected "dict[Any, Any]" [arg-type] ``` We use TaskFlow API and define the task dependencies exactly as in the example tutorial taskflow dag ``` order_data = extract() order_summary = transform(order_data) load(order_summary["total_order_value"]) ``` and haven't changed anything else in our DAG definitions. ### What you think should happen instead? No such errors should be raised, as was the case in 2.7.3. ### How to reproduce Run mypy on the tutorial taskflow DAG https://github.com/apache/airflow/blob/main/airflow/example_dags/tutorial_taskflow_api.py module ### Operating System Ubuntu 22.04 ### Versions of Apache Airflow Providers _No response_ ### Deployment Official Apache Airflow Helm Chart ### Deployment details _No response_ ### Anything else? _No response_ ### 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
