Skip to content

Commit 59c5bf8

Browse files
committed
mypy
1 parent 5188187 commit 59c5bf8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

sqlmodel/sql/expression.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ class SelectOfScalar(SelectBase[_T]):
332332

333333

334334
@overload
335-
def select(__ent0: _TCCA[_T0]) -> SelectOfScalar[_T0]:
335+
def select(__ent0: _TCCA[_T0]) -> SelectOfScalar[_T0]: # type: ignore
336336
...
337337

338338

@@ -342,12 +342,12 @@ def select(__ent0: _TScalar_0) -> SelectOfScalar[_TScalar_0]: # type: ignore
342342

343343

344344
@overload
345-
def select(*entities: _TCCA[_T0]) -> Select[Tuple[_T0, ...]]:
345+
def select(*entities: _TCCA[_T0]) -> Select[Tuple[_T0, ...]]: # type: ignore
346346
...
347347

348348

349349
@overload
350-
def select(*entities: _TScalar_0) -> Select[Tuple[_TScalar_0, ...]]:
350+
def select(*entities: _TScalar_0) -> Select[Tuple[_TScalar_0, ...]]: # type: ignore
351351
...
352352

353353

sqlmodel/sql/expression.py.jinja2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ _T{{ i }} = TypeVar("_T{{ i }}")
274274
# Generated TypeVars end
275275

276276
@overload
277-
def select(__ent0: _TCCA[_T0]) -> SelectOfScalar[_T0]:
277+
def select(__ent0: _TCCA[_T0]) -> SelectOfScalar[_T0]: # type: ignore
278278
...
279279

280280

@@ -284,12 +284,12 @@ def select(__ent0: _TScalar_0) -> SelectOfScalar[_TScalar_0]: # type: ignore
284284

285285

286286
@overload
287-
def select(*entities: _TCCA[_T0]) -> Select[Tuple[_T0, ...]]:
287+
def select(*entities: _TCCA[_T0]) -> Select[Tuple[_T0, ...]]: # type: ignore
288288
...
289289

290290

291291
@overload
292-
def select(*entities: _TScalar_0) -> Select[Tuple[_TScalar_0, ...]]:
292+
def select(*entities: _TScalar_0) -> Select[Tuple[_TScalar_0, ...]]: # type: ignore
293293
...
294294

295295

0 commit comments

Comments
 (0)