1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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
beantwortet vor 6 Monaten
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 9 Monaten