File tree 2 files changed +27
-0
lines changed
2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 15
15
16
16
from sqlalchemy import (
17
17
Column ,
18
+ Label ,
18
19
)
19
20
from sqlalchemy .sql .elements import (
20
21
SQLCoreOperations ,
40
41
Column , # type: ignore
41
42
Sequence , # type: ignore
42
43
Mapping , # type: ignore
44
+ Label , # type: ignore
43
45
UUID ,
44
46
datetime ,
45
47
float ,
58
60
Column , # type: ignore
59
61
Sequence , # type: ignore
60
62
Mapping , # type: ignore
63
+ Label , # type: ignore
61
64
UUID ,
62
65
datetime ,
63
66
float ,
76
79
Column , # type: ignore
77
80
Sequence , # type: ignore
78
81
Mapping , # type: ignore
82
+ Label , # type: ignore
79
83
UUID ,
80
84
datetime ,
81
85
float ,
94
98
Column , # type: ignore
95
99
Sequence , # type: ignore
96
100
Mapping , # type: ignore
101
+ Label , # type: ignore
97
102
UUID ,
98
103
datetime ,
99
104
float ,
@@ -119,6 +124,16 @@ def select(__ent0: _TScalar_0) -> SelectOfScalar[_TScalar_0]: # type: ignore
119
124
...
120
125
121
126
127
+ @overload
128
+ def select (* entities : _TCCA [_T0 ]) -> Select [Tuple [_T0 , ...]]: # type: ignore
129
+ ...
130
+
131
+
132
+ @overload
133
+ def select (* entities : _TScalar_0 ) -> Select [Tuple [_TScalar_0 , ...]]: # type: ignore
134
+ ...
135
+
136
+
122
137
# Generated overloads start
123
138
124
139
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ from uuid import UUID
13
13
14
14
from sqlalchemy import (
15
15
Column,
16
+ Label,
16
17
)
17
18
from sqlalchemy.sql.elements import (
18
19
SQLCoreOperations,
@@ -39,6 +40,7 @@ _TScalar_{{ i }} = TypeVar(
39
40
Column, # type: ignore
40
41
Sequence, # type: ignore
41
42
Mapping, # type: ignore
43
+ Label, # type: ignore
42
44
UUID,
43
45
datetime,
44
46
float,
@@ -64,6 +66,16 @@ def select(__ent0: _TScalar_0) -> SelectOfScalar[_TScalar_0]: # type: ignore
64
66
...
65
67
66
68
69
+ @overload
70
+ def select(*entities: _TCCA[_T0]) -> Select[Tuple[_T0, ...]]: # type: ignore
71
+ ...
72
+
73
+
74
+ @overload
75
+ def select(*entities: _TScalar_0) -> Select[Tuple[_TScalar_0, ...]]: # type: ignore
76
+ ...
77
+
78
+
67
79
# Generated overloads start
68
80
69
81
{% for signature in signatures %}
You can’t perform that action at this time.
0 commit comments