File tree Expand file tree Collapse file tree 4 files changed +11
-17
lines changed
Expand file tree Collapse file tree 4 files changed +11
-17
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,8 @@ from pandas.io.api import (
120120 read_pickle as read_pickle ,
121121 read_sas as read_sas ,
122122 read_spss as read_spss ,
123+ read_sql as read_sql ,
124+ read_sql_query as read_sql_query ,
123125 read_sql_table as read_sql_table ,
124126 read_stata as read_stata ,
125127 read_table as read_table ,
@@ -131,12 +133,6 @@ from pandas.io.api import (
131133from pandas .io .api import (
132134 read_orc as read_orc , # pyright: ignore[reportUnknownVariableType]
133135)
134- from pandas .io .api import (
135- read_sql as read_sql , # pyright: ignore[reportUnknownVariableType]
136- )
137- from pandas .io .api import (
138- read_sql_query as read_sql_query , # pyright: ignore[reportUnknownVariableType]
139- )
140136from pandas .io .json ._normalize import (
141137 json_normalize as json_normalize , # pyright: ignore[reportUnknownVariableType]
142138)
Original file line number Diff line number Diff line change @@ -28,12 +28,8 @@ from pandas.io.pytables import (
2828from pandas .io .sas import read_sas as read_sas
2929from pandas .io .spss import read_spss as read_spss
3030from pandas .io .sql import (
31- read_sql as read_sql , # pyright: ignore[reportUnknownVariableType]
32- )
33- from pandas .io .sql import (
34- read_sql_query as read_sql_query , # pyright: ignore[reportUnknownVariableType]
35- )
36- from pandas .io .sql import (
31+ read_sql as read_sql ,
32+ read_sql_query as read_sql_query ,
3733 read_sql_table as read_sql_table ,
3834)
3935from pandas .io .stata import read_stata as read_stata
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ _SQLStatement: TypeAlias = (
3333 str
3434 | sqlalchemy .sql .expression .Selectable
3535 | sqlalchemy .sql .expression .TextClause
36- | sqlalchemy .sql .Select
36+ | sqlalchemy .sql .Select [ Any ]
3737 | FromStatement [Any ]
3838 | sqlalchemy .sql .expression .UpdateBase
3939)
Original file line number Diff line number Diff line change 4848from pandas .io .excel ._base import (
4949 read_excel , # pyright: ignore[reportUnknownVariableType]
5050)
51- from pandas .io .html import read_html # pyright: ignore[reportUnknownVariableType]
51+ from pandas .io .html import read_html
5252from pandas .io .orc import read_orc # pyright: ignore[reportUnknownVariableType]
53- from pandas .io .parquet import read_parquet # pyright: ignore[reportUnknownVariableType]
53+ from pandas .io .parquet import read_parquet
5454from pandas .io .parsers import TextFileReader
5555from pandas .io .parsers .readers import (
5656 read_csv ,
6262)
6363from pandas .io .sas .sas7bdat import SAS7BDATReader
6464from pandas .io .sas .sas_xport import XportReader
65- from pandas .io .sql import read_sql # pyright: ignore[reportUnknownVariableType]
66- from pandas .io .sql import read_sql_query # pyright: ignore[reportUnknownVariableType]
65+ from pandas .io .sql import (
66+ read_sql ,
67+ read_sql_query ,
68+ )
6769from pandas .io .stata import StataReader
6870from pandas .io .xml import read_xml
6971
You can’t perform that action at this time.
0 commit comments