Skip to content

Commit 5eeacfb

Browse files
committed
fix mypy
1 parent 313aced commit 5eeacfb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

awswrangler/mysql.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def read_sql_query(
231231
@_utils.check_optional_dependency(pymysql, "pymysql")
232232
def read_sql_query(
233233
sql: str,
234-
con: "pymysql.connections.Connection", # type: ignore[type-arg]
234+
con: "pymysql.connections.Connection",
235235
index_col: str | list[str] | None = None,
236236
params: list[Any] | tuple[Any, ...] | dict[Any, Any] | None = None,
237237
chunksize: int | None = None,
@@ -351,7 +351,7 @@ def read_sql_table(
351351
@_utils.check_optional_dependency(pymysql, "pymysql")
352352
def read_sql_table(
353353
table: str,
354-
con: "pymysql.connections.Connection", # type: ignore[type-arg]
354+
con: "pymysql.connections.Connection",
355355
schema: str | None = None,
356356
index_col: str | list[str] | None = None,
357357
params: list[Any] | tuple[Any, ...] | dict[Any, Any] | None = None,
@@ -439,7 +439,7 @@ def read_sql_table(
439439
@apply_configs
440440
def to_sql(
441441
df: pd.DataFrame,
442-
con: "pymysql.connections.Connection", # type: ignore[type-arg]
442+
con: "pymysql.connections.Connection",
443443
table: str,
444444
schema: str,
445445
mode: _ToSqlModeLiteral = "append",

0 commit comments

Comments
 (0)