1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
The name of the parameter is conn_id
[1] not mysql_conn_id
--the latter is the example string[2].
mysql_hook = MySqlHook(conn_id='test')
[1] https://github.com/apache/airflow/blob/v2-0-stable/airflow/hooks/base.py#L62C16-L62C23
[2] https://github.com/apache/airflow/blob/v2-0-stable/airflow/providers/mysql/hooks/mysql.py#L42
répondu il y a 6 mois
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a 6 mois
- AWS OFFICIELA mis à jour il y a 9 mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans