Skip to content

Commit c2a1624

Browse files
committed
[peewee] add return type to count()
1 parent e4d32e0 commit c2a1624

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stubs/peewee/peewee.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ class SelectBase(_HashableSource, Source, SelectQuery): # type: ignore[misc]
576576
def first(self, database=None, n: int = 1): ...
577577
def scalar(self, database=None, as_tuple: bool = False, as_dict: bool = False): ...
578578
def scalars(self, database=None) -> Generator[Incomplete]: ...
579-
def count(self, database=None, clear_limit: bool = False): ...
579+
def count(self, database=None, clear_limit: bool = False) -> int: ...
580580
def exists(self, database=None) -> bool: ...
581581
def get(self, database=None): ...
582582

0 commit comments

Comments
 (0)