@@ -220,7 +220,7 @@ def get_conn(self) -> MySQLConnectionTypes:
220
220
"installed in case you see compilation error during installation."
221
221
)
222
222
223
- conn_config = self ._get_conn_config_mysql_client (conn ) # type: ignore[arg-type]
223
+ conn_config = self ._get_conn_config_mysql_client (conn )
224
224
return MySQLdb .connect (** conn_config )
225
225
226
226
if client_name == "mysql-connector-python" :
@@ -233,7 +233,7 @@ def get_conn(self) -> MySQLConnectionTypes:
233
233
"'mysql-connector-python'. Warning! It might cause dependency conflicts."
234
234
)
235
235
236
- conn_config = self ._get_conn_config_mysql_connector_python (conn ) # type: ignore[arg-type]
236
+ conn_config = self ._get_conn_config_mysql_connector_python (conn )
237
237
return mysql .connector .connect (** conn_config )
238
238
239
239
raise ValueError ("Unknown MySQL client name provided!" )
@@ -253,7 +253,7 @@ def bulk_load(self, table: str, tmp_file: str) -> None:
253
253
(tmp_file ,),
254
254
)
255
255
conn .commit ()
256
- conn .close () # type: ignore[misc]
256
+ conn .close ()
257
257
258
258
def bulk_dump (self , table : str , tmp_file : str ) -> None :
259
259
"""Dump a database table into a tab-delimited file."""
@@ -270,7 +270,7 @@ def bulk_dump(self, table: str, tmp_file: str) -> None:
270
270
(tmp_file ,),
271
271
)
272
272
conn .commit ()
273
- conn .close () # type: ignore[misc]
273
+ conn .close ()
274
274
275
275
@staticmethod
276
276
def _serialize_cell (cell : object , conn : Connection | None = None ) -> Any :
@@ -337,7 +337,7 @@ def bulk_load_custom(
337
337
338
338
cursor .close ()
339
339
conn .commit ()
340
- conn .close () # type: ignore[misc]
340
+ conn .close ()
341
341
342
342
def get_openlineage_database_info (self , connection ):
343
343
"""Return MySQL specific information for OpenLineage."""
0 commit comments