File tree Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change 1
1
from typing import Any
2
+ from typing import TypeVar
2
3
3
- from . import coercions as coercions
4
- from . import dml as dml
5
- from . import elements as elements
6
- from . import roles as roles
7
- from .. import exc as exc
8
- from .. import util as util
4
+ from . import elements
5
+ from . import type_api
6
+ from ..util import langhelpers
9
7
10
- REQUIRED : Any
8
+ _TE = TypeVar ( "_TE" , bound = type_api . TypeEngine [ Any ])
11
9
12
- class _multiparam_column (elements .ColumnElement ):
10
+ REQUIRED : langhelpers ._symbol
11
+
12
+ class _multiparam_column (elements .ColumnElement [_TE ]):
13
13
index : Any = ...
14
- key : Any = ...
15
- original : Any = ...
14
+ key : str = ...
15
+ original : elements . ColumnElement [ _TE ] = ...
16
16
default : Any = ...
17
- type : Any = ...
18
- def __init__ (self , original : Any , index : Any ) -> None : ...
19
- def compare (self , other : Any , ** kw : Any ) -> None : ...
20
- def __eq__ (self , other : Any ) -> Any : ...
17
+ type : _TE = ... # type: ignore[assignment]
18
+ def __init__ (
19
+ self , original : elements .ColumnElement [_TE ], index : Any
20
+ ) -> None : ...
21
+ def compare (self , other : Any , ** kw : Any ) -> bool : ...
22
+ def __eq__ (self , other : Any ) -> bool : ... # type: ignore[override]
You can’t perform that action at this time.
0 commit comments