@@ -241,7 +241,7 @@ def read_sql_table( # pyright: ignore[reportOverlappingOverload]
241
241
schema = ...,
242
242
index_col : str | list [str ] | None = ...,
243
243
coerce_float = ...,
244
- parse_dates : list [str ] | dict [str , str ] | None = ...,
244
+ parse_dates : list [str ] | dict [str , str ] | dict [ str , dict [ str , Any ]] | None = ...,
245
245
columns : list [str ] | None = ...,
246
246
chunksize : None = ...,
247
247
dtype_backend : DtypeBackend | lib .NoDefault = ...,
@@ -255,7 +255,7 @@ def read_sql_table(
255
255
schema = ...,
256
256
index_col : str | list [str ] | None = ...,
257
257
coerce_float = ...,
258
- parse_dates : list [str ] | dict [str , str ] | None = ...,
258
+ parse_dates : list [str ] | dict [str , str ] | dict [ str , dict [ str , Any ]] | None = ...,
259
259
columns : list [str ] | None = ...,
260
260
chunksize : int = ...,
261
261
dtype_backend : DtypeBackend | lib .NoDefault = ...,
@@ -268,7 +268,7 @@ def read_sql_table(
268
268
schema : str | None = None ,
269
269
index_col : str | list [str ] | None = None ,
270
270
coerce_float : bool = True ,
271
- parse_dates : list [str ] | dict [str , str ] | None = None ,
271
+ parse_dates : list [str ] | dict [str , str ] | dict [ str , dict [ str , Any ]] | None = None ,
272
272
columns : list [str ] | None = None ,
273
273
chunksize : int | None = None ,
274
274
dtype_backend : DtypeBackend | lib .NoDefault = lib .no_default ,
@@ -372,21 +372,20 @@ def read_sql_query( # pyright: ignore[reportOverlappingOverload]
372
372
index_col : str | list [str ] | None = ...,
373
373
coerce_float = ...,
374
374
params : list [Any ] | Mapping [str , Any ] | None = ...,
375
- parse_dates : list [str ] | dict [str , str ] | None = ...,
375
+ parse_dates : list [str ] | dict [str , str ] | dict [ str , dict [ str , Any ]] | None = ...,
376
376
chunksize : None = ...,
377
377
dtype : DtypeArg | None = ...,
378
378
dtype_backend : DtypeBackend | lib .NoDefault = ...,
379
379
) -> DataFrame : ...
380
380
381
-
382
381
@overload
383
382
def read_sql_query (
384
383
sql ,
385
384
con ,
386
385
index_col : str | list [str ] | None = ...,
387
386
coerce_float = ...,
388
387
params : list [Any ] | Mapping [str , Any ] | None = ...,
389
- parse_dates : list [str ] | dict [str , str ] | None = ...,
388
+ parse_dates : list [str ] | dict [str , str ] | dict [ str , dict [ str , Any ]] | None = ...,
390
389
chunksize : int = ...,
391
390
dtype : DtypeArg | None = ...,
392
391
dtype_backend : DtypeBackend | lib .NoDefault = ...,
@@ -399,7 +398,7 @@ def read_sql_query(
399
398
index_col : str | list [str ] | None = None ,
400
399
coerce_float : bool = True ,
401
400
params : list [Any ] | Mapping [str , Any ] | None = None ,
402
- parse_dates : list [str ] | dict [str , str ] | None = None ,
401
+ parse_dates : list [str ] | dict [str , str ] | dict [ str , dict [ str , Any ]] | None = None ,
403
402
chunksize : int | None = None ,
404
403
dtype : DtypeArg | None = None ,
405
404
dtype_backend : DtypeBackend | lib .NoDefault = lib .no_default ,
0 commit comments