Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ repos:
^.*__init__\.py$|
^airflow\/providers\/amazon\/aws\/transfers\/gcs_to_s3\.py$|
^airflow\/providers\/databricks\/operators\/databricks\.py$|
^airflow\/providers\/google\/cloud\/transfers\/bigquery_to_mysql\.py$|
^airflow\/providers\/amazon\/aws\/transfers\/redshift_to_s3\.py$|
^airflow\/providers\/google\/cloud\/operators\/compute\.py$|
^airflow\/providers\/amazon\/aws\/operators\/emr\.py$|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def __init__(
mysql_table: str | None = None,
target_table_name: str | None = None,
mysql_conn_id: str = "mysql_default",
dataset_id: str | None = None,
table_id: str | None = None,
**kwargs,
) -> None:
if mysql_table is not None:
Expand All @@ -65,7 +67,9 @@ def __init__(

target_table_name = mysql_table

super().__init__(target_table_name=target_table_name, **kwargs)
super().__init__(
target_table_name=target_table_name, dataset_id=dataset_id, table_id=table_id, **kwargs
)
self.mysql_conn_id = mysql_conn_id

def get_sql_hook(self) -> MySqlHook:
Expand Down