diff --git a/stubs/peewee/peewee.pyi b/stubs/peewee/peewee.pyi index 817ad6e5df1d..3a8618695b72 100644 --- a/stubs/peewee/peewee.pyi +++ b/stubs/peewee/peewee.pyi @@ -297,7 +297,7 @@ class ColumnBase(Node): __pos__ = asc def desc(self, collation=None, nulls=None) -> Ordering: ... __neg__ = desc - def __invert__(self): ... + def __invert__(self) -> ColumnBase: ... __and__: ClassVar[Callable[[Self, Any], Expression]] __or__: ClassVar[Callable[[Self, Any], Expression]] def __add__(self, rhs: Any) -> Expression: ... @@ -555,7 +555,7 @@ EXCLUDED: Incomplete class DQ(ColumnBase): query: Incomplete def __init__(self, **query) -> None: ... - def __invert__(self) -> Self: ... # type: ignore[override] + def __invert__(self) -> Self: ... def clone(self) -> DQ: ... Tuple: Incomplete