You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pick a file: Choose an unchecked file from the list above
Check the box: Update this issue to mark the file as being worked on
Run MyPy locally: Follow the steps mentioned above to generate the errors. You can also run prek mypy-providers --directory <directory> to run mypy in the directory you are working on
Fix the errors: Address the type errors in your chosen file
Apache Airflow version
3.1.0
If "Other Airflow 2/3 version" selected, which one?
No response
What happened?
Summary
This issue tracks all files currently failing the
mypy-providerstest. The failures are grouped by directory for easier navigation and fixing.How to generate the errors
breeze ci-image build --python 3.10 --upgrade-to-newer-dependenciesprek --color always --verbose --hook-stage manual "mypy-providers" --all-filesreveals numerous type errors throughout the codebaseCurrent Status (Updated: 2025-01-03)
Total errors found: 19 errors in 9 files (checked 4030 source files)
Error Breakdown by Directory
providers/common/compat/
providers/common/compat/src/airflow/providers/common/compat/sqlalchemy/orm.py(1 error)providers/cncf/kubernetes/
providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/executors/kubernetes_executor.py(3 errors)providers/standard/
providers/standard/src/airflow/providers/standard/triggers/external_task.py(2 errors)providers/standard/src/airflow/providers/standard/sensors/external_task.py(1 error)providers/databricks/
providers/databricks/src/airflow/providers/databricks/hooks/databricks_base.py(8 errors)providers/databricks/src/airflow/providers/databricks/plugins/databricks_workflow.py(1 error)providers/databricks/src/airflow/providers/databricks/hooks/databricks_sql.py(1 error)providers/fab/
providers/fab/src/airflow/providers/fab/auth_manager/api_fastapi/services/roles.py(2 errors)providers/fab/src/airflow/providers/fab/www/app.py(1 error)How to Contribute
prek mypy-providers --directory <directory>to runmypyin the directory you are working onGuidelines
Let's work together to improve Airflow's type safety! 🚀
Note: This issue was generated by running MyPy on the current codebase. The error counts may change as the codebase evolves.
What you think should happen instead?
No response
How to reproduce
breeze ci-image build --python 3.10 --upgrade-to-newer-dependenciesprek --color always --verbose --hook-stage manual "mypy-providers" --all-filesreveals numerous type errors throughout the codebaseOperating System
Macos
Versions of Apache Airflow Providers
No response
Deployment
Other
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct