-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
Description
Apache Airflow Provider(s)
Versions of Apache Airflow Providers
google, ssh, slack
Apache Airflow version
2.6.3
Operating System
composer
Deployment
Google Cloud Composer
Deployment details
No response
What happened
When trying to load the dag for a test with a CloudSQLExportInstanceOperator (from airflow.providers.google.cloud.operators.cloud_sql) I have a module not found error (ModuleNotFoundError: No module named 'airflow.providers.mysql').
I do not use mysql, so I should not have to install this module.
What you think should happen instead
We should not need those dependencies if not necessary. Moreover it is only used for type checking in another operator (CloudSQLExecuteQueryOperator)
How to reproduce
Import a CloudSQL operator without the mysql provider installed for example
Anything else
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct