Fix collerk/ormar#588 bug in querysetproxy count() method

This commit is contained in:
haydeec1
2022-03-17 14:07:48 -04:00
parent a7e78bbf8c
commit 606a592038
3 changed files with 14 additions and 3 deletions

View File

@ -26,7 +26,7 @@ class QuerySetProtocol(Protocol): # pragma: nocover
async def exists(self) -> bool:
...
async def count(self) -> int:
async def count(self, distinct: bool = True) -> int:
...
async def clear(self) -> int: