@@ -66,7 +66,12 @@ def read_sql_query(
66
66
con : _SQLConnection ,
67
67
index_col : str | list [str ] | None = ...,
68
68
coerce_float : bool = ...,
69
- params : list [Scalar ] | tuple [Scalar , ...] | Mapping [str , Scalar ] | None = ...,
69
+ params : list [Scalar ]
70
+ | tuple [Scalar , ...]
71
+ | tuple [tuple [Scalar , ...], ...]
72
+ | Mapping [str , Scalar ]
73
+ | Mapping [str , tuple [Scalar , ...]]
74
+ | None = ...,
70
75
parse_dates : list [str ] | dict [str , str ] | dict [str , dict [str , Any ]] | None = ...,
71
76
* ,
72
77
chunksize : int ,
@@ -79,7 +84,12 @@ def read_sql_query(
79
84
con : _SQLConnection ,
80
85
index_col : str | list [str ] | None = ...,
81
86
coerce_float : bool = ...,
82
- params : list [Scalar ] | tuple [Scalar , ...] | Mapping [str , Scalar ] | None = ...,
87
+ params : list [Scalar ]
88
+ | tuple [Scalar , ...]
89
+ | tuple [tuple [Scalar , ...], ...]
90
+ | Mapping [str , Scalar ]
91
+ | Mapping [str , tuple [Scalar , ...]]
92
+ | None = ...,
83
93
parse_dates : list [str ] | dict [str , str ] | dict [str , dict [str , Any ]] | None = ...,
84
94
chunksize : None = ...,
85
95
dtype : DtypeArg | None = ...,
@@ -91,7 +101,12 @@ def read_sql(
91
101
con : _SQLConnection ,
92
102
index_col : str | list [str ] | None = ...,
93
103
coerce_float : bool = ...,
94
- params : list [Scalar ] | tuple [Scalar , ...] | Mapping [str , Scalar ] | None = ...,
104
+ params : list [Scalar ]
105
+ | tuple [Scalar , ...]
106
+ | tuple [tuple [Scalar , ...], ...]
107
+ | Mapping [str , Scalar ]
108
+ | Mapping [str , tuple [Scalar , ...]]
109
+ | None = ...,
95
110
parse_dates : list [str ] | dict [str , str ] | dict [str , dict [str , Any ]] | None = ...,
96
111
columns : list [str ] = ...,
97
112
* ,
@@ -105,7 +120,12 @@ def read_sql(
105
120
con : _SQLConnection ,
106
121
index_col : str | list [str ] | None = ...,
107
122
coerce_float : bool = ...,
108
- params : list [Scalar ] | tuple [Scalar , ...] | Mapping [str , Scalar ] | None = ...,
123
+ params : list [Scalar ]
124
+ | tuple [Scalar , ...]
125
+ | tuple [tuple [Scalar , ...], ...]
126
+ | Mapping [str , Scalar ]
127
+ | Mapping [str , tuple [Scalar , ...]]
128
+ | None = ...,
109
129
parse_dates : list [str ] | dict [str , str ] | dict [str , dict [str , Any ]] | None = ...,
110
130
columns : list [str ] = ...,
111
131
chunksize : None = ...,
0 commit comments