File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
stubs/SQLAlchemy/sqlalchemy/sql Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change
1
+ from _typeshed import Incomplete , Self
1
2
from typing import Any , Generic , TypeVar
2
3
from typing_extensions import Literal
3
4
@@ -136,8 +137,8 @@ class TextClause(
136
137
def __and__ (self , other ): ...
137
138
key : Any
138
139
text : Any
139
- def __init__ (self , text , bind : Any | None = ...) : ...
140
- def bindparams (self , * binds , ** names_to_values ) -> None : ...
140
+ def __init__ (self , text : str , bind : Incomplete | None = None ) -> None : ...
141
+ def bindparams (self : Self , * binds , ** names_to_values ) -> Self : ...
141
142
def columns (self , * cols , ** types ): ...
142
143
@property
143
144
def type (self ): ...
Original file line number Diff line number Diff line change @@ -163,7 +163,9 @@ lateral: Incomplete
163
163
or_ : Incomplete
164
164
bindparam : Incomplete
165
165
select : Incomplete
166
- text : Incomplete
166
+
167
+ def text (text : str , bind : Incomplete | None = None ) -> TextClause : ...
168
+
167
169
table : Incomplete
168
170
column : Incomplete
169
171
over : Incomplete
You can’t perform that action at this time.
0 commit comments