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