Skip to content

Commit 2846f3d

Browse files
author
shirzady1934
committed
issue 1166 added extra possible type UpdateBase to _SQLStatement
1 parent 6981596 commit 2846f3d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas-stubs/io/sql.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ from pandas.core.frame import DataFrame
1515
import sqlalchemy.engine
1616
from sqlalchemy.orm import FromStatement
1717
import sqlalchemy.sql.expression
18+
from sqlalchemy.sql.expression import UpdateBase
1819
from typing_extensions import TypeAlias
1920

2021
from pandas._libs.lib import NoDefault
@@ -33,6 +34,7 @@ _SQLStatement: TypeAlias = (
3334
| sqlalchemy.sql.expression.TextClause
3435
| sqlalchemy.sql.Select
3536
| FromStatement
37+
| UpdateBase
3638
)
3739

3840
@overload

0 commit comments

Comments
 (0)