25
25
Any ,
26
26
Iterator ,
27
27
Literal ,
28
+ Mapping ,
28
29
cast ,
29
30
overload ,
30
31
)
@@ -357,7 +358,7 @@ def read_sql_query(
357
358
con ,
358
359
index_col : str | list [str ] | None = ...,
359
360
coerce_float = ...,
360
- params : list [str ] | dict [str , str ] | None = ...,
361
+ params : list [Any ] | Mapping [str , Any ] | None = ...,
361
362
parse_dates : list [str ] | dict [str , str ] | None = ...,
362
363
chunksize : None = ...,
363
364
dtype : DtypeArg | None = ...,
@@ -372,7 +373,7 @@ def read_sql_query(
372
373
con ,
373
374
index_col : str | list [str ] | None = ...,
374
375
coerce_float = ...,
375
- params : list [str ] | dict [str , str ] | None = ...,
376
+ params : list [Any ] | Mapping [str , Any ] | None = ...,
376
377
parse_dates : list [str ] | dict [str , str ] | None = ...,
377
378
chunksize : int = ...,
378
379
dtype : DtypeArg | None = ...,
@@ -386,7 +387,7 @@ def read_sql_query(
386
387
con ,
387
388
index_col : str | list [str ] | None = None ,
388
389
coerce_float : bool = True ,
389
- params : list [str ] | dict [str , str ] | None = None ,
390
+ params : list [Any ] | Mapping [str , Any ] | None = None ,
390
391
parse_dates : list [str ] | dict [str , str ] | None = None ,
391
392
chunksize : int | None = None ,
392
393
dtype : DtypeArg | None = None ,
@@ -411,7 +412,7 @@ def read_sql_query(
411
412
coerce_float : bool, default True
412
413
Attempts to convert values of non-string, non-numeric objects (like
413
414
decimal.Decimal) to floating point. Useful for SQL result sets.
414
- params : list, tuple or dict , optional, default: None
415
+ params : list, tuple or mapping , optional, default: None
415
416
List of parameters to pass to execute method. The syntax used
416
417
to pass parameters is database driver dependent. Check your
417
418
database driver documentation for which of the five syntax styles,
0 commit comments