Fix Paginator properties mistyped as Callables (#193)

Co-authored-by: Nick Sweeting <git@sweeting.me>
This commit is contained in:
Maxim Kurnikov
2019-09-28 22:15:02 +03:00
parent e143ba568c
commit 4d4b0003bd
2 changed files with 5 additions and 0 deletions

View File

@@ -32,7 +32,9 @@ class Paginator:
def validate_number(self, number: Optional[Union[float, str]]) -> int: ...
def get_page(self, number: Optional[int]) -> Page: ...
def page(self, number: Union[int, str]) -> Page: ...
@property
def count(self) -> int: ...
@property
def num_pages(self) -> int: ...
@property
def page_range(self) -> range: ...