1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
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
respondido hace 6 meses
Contenido relevante
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace 9 meses
- OFICIAL DE AWSActualizada hace 2 años