Skip to content

Commit

Permalink
Fix in operator annotations (and corresponding imports) (#200)
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Levkivskyi <[email protected]>
  • Loading branch information
ilevkivskyi and Ivan Levkivskyi authored Jan 11, 2021
1 parent 84e1ebd commit 2b74be9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sqlalchemy-stubs/sql/operators.pyi
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import Any, Iterable, Optional, Text, Union
from .selectable import Select as Select
from .elements import BindParameter as BindParameter, UnaryExpression
from .selectable import Select, Alias
from .elements import BindParameter, UnaryExpression

class Operators(object):
def __and__(self, other): ...
Expand Down Expand Up @@ -42,8 +42,8 @@ class ColumnOperators(Operators):
def concat(self, other): ...
def like(self, other: Text, escape: Optional[Any] = ...): ...
def ilike(self, other: Text, escape: Optional[Any] = ...): ...
def in_(self, other: Union[Iterable[Any], BindParameter, Select]): ...
def notin_(self, other: Union[Iterable[Any], BindParameter, Select]): ...
def in_(self, other: Union[Iterable[Any], BindParameter, Select, Alias]): ...
def notin_(self, other: Union[Iterable[Any], BindParameter, Select, Alias]): ...
def notlike(self, other, escape: Optional[Any] = ...): ...
def notilike(self, other, escape: Optional[Any] = ...): ...
def is_(self, other): ...
Expand Down

0 comments on commit 2b74be9

Please sign in to comment.