|
1 | 1 | from typing import Any, Iterable, Optional, Text, Union |
2 | | -from .selectable import Select as Select |
3 | | -from .elements import BindParameter as BindParameter, UnaryExpression |
| 2 | +from .selectable import Select, Alias |
| 3 | +from .elements import BindParameter, UnaryExpression |
4 | 4 |
|
5 | 5 | class Operators(object): |
6 | 6 | def __and__(self, other): ... |
@@ -42,8 +42,8 @@ class ColumnOperators(Operators): |
42 | 42 | def concat(self, other): ... |
43 | 43 | def like(self, other: Text, escape: Optional[Any] = ...): ... |
44 | 44 | def ilike(self, other: Text, escape: Optional[Any] = ...): ... |
45 | | - def in_(self, other: Union[Iterable[Any], BindParameter, Select]): ... |
46 | | - def notin_(self, other: Union[Iterable[Any], BindParameter, Select]): ... |
| 45 | + def in_(self, other: Union[Iterable[Any], BindParameter, Select, Alias]): ... |
| 46 | + def notin_(self, other: Union[Iterable[Any], BindParameter, Select, Alias]): ... |
47 | 47 | def notlike(self, other, escape: Optional[Any] = ...): ... |
48 | 48 | def notilike(self, other, escape: Optional[Any] = ...): ... |
49 | 49 | def is_(self, other): ... |
|
0 commit comments