@@ -66,7 +66,14 @@ def read_sql_query(
6666 con : _SQLConnection ,
6767 index_col : str | list [str ] | None = ...,
6868 coerce_float : bool = ...,
69- params : list [Scalar ] | tuple [Scalar , ...] | Mapping [str , Scalar ] | None = ...,
69+ params : (
70+ list [Scalar ]
71+ | tuple [Scalar , ...]
72+ | tuple [tuple [Scalar , ...], ...]
73+ | Mapping [str , Scalar ]
74+ | Mapping [str , tuple [Scalar , ...]]
75+ | None
76+ ) = ...,
7077 parse_dates : list [str ] | dict [str , str ] | dict [str , dict [str , Any ]] | None = ...,
7178 * ,
7279 chunksize : int ,
@@ -79,7 +86,14 @@ def read_sql_query(
7986 con : _SQLConnection ,
8087 index_col : str | list [str ] | None = ...,
8188 coerce_float : bool = ...,
82- params : list [Scalar ] | tuple [Scalar , ...] | Mapping [str , Scalar ] | None = ...,
89+ params : (
90+ list [Scalar ]
91+ | tuple [Scalar , ...]
92+ | tuple [tuple [Scalar , ...], ...]
93+ | Mapping [str , Scalar ]
94+ | Mapping [str , tuple [Scalar , ...]]
95+ | None
96+ ) = ...,
8397 parse_dates : list [str ] | dict [str , str ] | dict [str , dict [str , Any ]] | None = ...,
8498 chunksize : None = ...,
8599 dtype : DtypeArg | None = ...,
@@ -91,7 +105,14 @@ def read_sql(
91105 con : _SQLConnection ,
92106 index_col : str | list [str ] | None = ...,
93107 coerce_float : bool = ...,
94- params : list [Scalar ] | tuple [Scalar , ...] | Mapping [str , Scalar ] | None = ...,
108+ params : (
109+ list [Scalar ]
110+ | tuple [Scalar , ...]
111+ | tuple [tuple [Scalar , ...], ...]
112+ | Mapping [str , Scalar ]
113+ | Mapping [str , tuple [Scalar , ...]]
114+ | None
115+ ) = ...,
95116 parse_dates : list [str ] | dict [str , str ] | dict [str , dict [str , Any ]] | None = ...,
96117 columns : list [str ] = ...,
97118 * ,
@@ -105,7 +126,14 @@ def read_sql(
105126 con : _SQLConnection ,
106127 index_col : str | list [str ] | None = ...,
107128 coerce_float : bool = ...,
108- params : list [Scalar ] | tuple [Scalar , ...] | Mapping [str , Scalar ] | None = ...,
129+ params : (
130+ list [Scalar ]
131+ | tuple [Scalar , ...]
132+ | tuple [tuple [Scalar , ...], ...]
133+ | Mapping [str , Scalar ]
134+ | Mapping [str , tuple [Scalar , ...]]
135+ | None
136+ ) = ...,
109137 parse_dates : list [str ] | dict [str , str ] | dict [str , dict [str , Any ]] | None = ...,
110138 columns : list [str ] = ...,
111139 chunksize : None = ...,
0 commit comments