1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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
con risposta 6 mesi fa
Contenuto pertinente
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 9 mesi fa