@@ -2,6 +2,7 @@ from collections.abc import (
2
2
Callable ,
3
3
Generator ,
4
4
Iterable ,
5
+ Mapping ,
5
6
)
6
7
import sqlite3
7
8
from typing import (
@@ -65,7 +66,7 @@ def read_sql_query(
65
66
con : _SQLConnection ,
66
67
index_col : str | list [str ] | None = ...,
67
68
coerce_float : bool = ...,
68
- params : list [str ] | tuple [str , ...] | dict [str , str ] | None = ...,
69
+ params : list [Any ] | tuple [Any , ...] | Mapping [str , Any ] | None = ...,
69
70
parse_dates : list [str ] | dict [str , str ] | dict [str , dict [str , Any ]] | None = ...,
70
71
* ,
71
72
chunksize : int ,
@@ -78,7 +79,7 @@ def read_sql_query(
78
79
con : _SQLConnection ,
79
80
index_col : str | list [str ] | None = ...,
80
81
coerce_float : bool = ...,
81
- params : list [str ] | tuple [str , ...] | dict [str , str ] | None = ...,
82
+ params : list [Any ] | tuple [Any , ...] | Mapping [str , Any ] | None = ...,
82
83
parse_dates : list [str ] | dict [str , str ] | dict [str , dict [str , Any ]] | None = ...,
83
84
chunksize : None = ...,
84
85
dtype : DtypeArg | None = ...,
@@ -90,7 +91,7 @@ def read_sql(
90
91
con : _SQLConnection ,
91
92
index_col : str | list [str ] | None = ...,
92
93
coerce_float : bool = ...,
93
- params : list [str ] | tuple [str , ...] | dict [str , str ] | None = ...,
94
+ params : list [Any ] | tuple [Any , ...] | Mapping [str , Any ] | None = ...,
94
95
parse_dates : list [str ] | dict [str , str ] | dict [str , dict [str , Any ]] | None = ...,
95
96
columns : list [str ] = ...,
96
97
* ,
@@ -104,7 +105,7 @@ def read_sql(
104
105
con : _SQLConnection ,
105
106
index_col : str | list [str ] | None = ...,
106
107
coerce_float : bool = ...,
107
- params : list [str ] | tuple [str , ...] | dict [str , str ] | None = ...,
108
+ params : list [Any ] | tuple [Any , ...] | Mapping [str , Any ] | None = ...,
108
109
parse_dates : list [str ] | dict [str , str ] | dict [str , dict [str , Any ]] | None = ...,
109
110
columns : list [str ] = ...,
110
111
chunksize : None = ...,
0 commit comments