1
1
from types import ModuleType
2
2
from typing import Any
3
+ from typing import Iterable
4
+ from typing import Iterator
3
5
from typing import Optional
6
+ from typing import Tuple
4
7
5
- from . import operators as operators
6
- from . import roles as roles
7
- from . import visitors as visitors
8
- from .base import Options as Options
9
- from .traversals import HasCacheKey as HasCacheKey
10
- from .visitors import Visitable as Visitable
11
- from .. import exc as exc
12
- from .. import inspection as inspection
13
- from .. import util as util
14
- from ..util import collections_abc as collections_abc
8
+ from . import roles
15
9
16
10
elements : ModuleType
17
11
lambdas : ModuleType
@@ -26,12 +20,14 @@ def expect(
26
20
apply_propagate_attrs : Optional [Any ] = ...,
27
21
argname : Optional [Any ] = ...,
28
22
** kw : Any ,
29
- ): ...
30
- def expect_as_key (role : Any , element : Any , ** kw : Any ): ...
31
- def expect_col_expression_collection (role : Any , expressions : Any ) -> None : ...
23
+ ) -> Any : ...
24
+ def expect_as_key (role : Any , element : Any , ** kw : Any ) -> Any : ...
25
+ def expect_col_expression_collection (
26
+ role : Any , expressions : Iterable [Any ]
27
+ ) -> Iterator [Tuple [Any , Any , str , Any ]]: ...
32
28
33
29
class RoleImpl :
34
- name : Any = ...
30
+ name : str = ...
35
31
def __init__ (self , role_class : Any ) -> None : ...
36
32
37
33
class _Deannotate : ...
@@ -78,7 +74,3 @@ class AnonymizedFromClauseImpl(StrictFromClauseImpl): ...
78
74
class DMLTableImpl (_SelectIsNotFrom , _NoTextCoercion , RoleImpl ): ...
79
75
class DMLSelectImpl (_NoTextCoercion , RoleImpl ): ...
80
76
class CompoundElementImpl (_NoTextCoercion , RoleImpl ): ...
81
-
82
- cls : Any
83
- name : Any
84
- impl : Any
0 commit comments