Skip to content

Commit 78f1424

Browse files
committed
[peewee] Annotate ColumnBase.__invert__
1 parent 350a961 commit 78f1424

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎stubs/peewee/peewee.pyi‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ class ColumnBase(Node):
297297
__pos__ = asc
298298
def desc(self, collation=None, nulls=None) -> Ordering: ...
299299
__neg__ = desc
300-
def __invert__(self): ...
300+
def __invert__(self) -> ColumnBase: ...
301301
__and__: ClassVar[Callable[[Self, Any], Expression]]
302302
__or__: ClassVar[Callable[[Self, Any], Expression]]
303303
def __add__(self, rhs: Any) -> Expression: ...
@@ -555,7 +555,7 @@ EXCLUDED: Incomplete
555555
class DQ(ColumnBase):
556556
query: Incomplete
557557
def __init__(self, **query) -> None: ...
558-
def __invert__(self) -> Self: ... # type: ignore[override]
558+
def __invert__(self) -> Self: ...
559559
def clone(self) -> DQ: ...
560560

561561
Tuple: Incomplete

0 commit comments

Comments
 (0)