@@ -23,7 +23,7 @@ class DatabaseError(IOError): ...
23
23
@overload
24
24
def read_sql_table (
25
25
table_name : str ,
26
- con : str | sqlalchemy .engine .Connection | sqlite3 .Connection ,
26
+ con : str | sqlalchemy .engine .Connectable | sqlite3 .Connection ,
27
27
schema : str | None = ...,
28
28
index_col : str | list [str ] | None = ...,
29
29
coerce_float : bool = ...,
@@ -35,7 +35,7 @@ def read_sql_table(
35
35
@overload
36
36
def read_sql_table (
37
37
table_name : str ,
38
- con : str | sqlalchemy .engine .Connection | sqlite3 .Connection ,
38
+ con : str | sqlalchemy .engine .Connectable | sqlite3 .Connection ,
39
39
schema : str | None = ...,
40
40
index_col : str | list [str ] | None = ...,
41
41
coerce_float : bool = ...,
@@ -46,7 +46,7 @@ def read_sql_table(
46
46
@overload
47
47
def read_sql_query (
48
48
sql : str ,
49
- con : str | sqlalchemy .engine .Connection | sqlite3 .Connection ,
49
+ con : str | sqlalchemy .engine .Connectable | sqlite3 .Connection ,
50
50
index_col : str | list [str ] | None = ...,
51
51
coerce_float : bool = ...,
52
52
params : list [str ] | tuple [str , ...] | dict [str , str ] | None = ...,
@@ -58,7 +58,7 @@ def read_sql_query(
58
58
@overload
59
59
def read_sql_query (
60
60
sql : str ,
61
- con : str | sqlalchemy .engine .Connection | sqlite3 .Connection ,
61
+ con : str | sqlalchemy .engine .Connectable | sqlite3 .Connection ,
62
62
index_col : str | list [str ] | None = ...,
63
63
coerce_float : bool = ...,
64
64
params : list [str ] | tuple [str , ...] | dict [str , str ] | None = ...,
@@ -69,7 +69,7 @@ def read_sql_query(
69
69
@overload
70
70
def read_sql (
71
71
sql : str ,
72
- con : str | sqlalchemy .engine .Connection | sqlite3 .Connection ,
72
+ con : str | sqlalchemy .engine .Connectable | sqlite3 .Connection ,
73
73
index_col : str | list [str ] | None = ...,
74
74
coerce_float : bool = ...,
75
75
params : list [str ] | tuple [str , ...] | dict [str , str ] | None = ...,
@@ -81,7 +81,7 @@ def read_sql(
81
81
@overload
82
82
def read_sql (
83
83
sql : str ,
84
- con : str | sqlalchemy .engine .Connection | sqlite3 .Connection ,
84
+ con : str | sqlalchemy .engine .Connectable | sqlite3 .Connection ,
85
85
index_col : str | list [str ] | None = ...,
86
86
coerce_float : bool = ...,
87
87
params : list [str ] | tuple [str , ...] | dict [str , str ] | None = ...,
0 commit comments