mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-23 14:44:21 +02:00
fix type hint
This commit is contained in:
@@ -138,7 +138,7 @@ class AccelleratedPaginator(Paginator):
|
|||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
def count(self):
|
def count(self):
|
||||||
if self.object_list._has_filters():
|
if self.object_list._has_filters(): # type: ignore
|
||||||
# fallback to normal count method on filtered queryset
|
# fallback to normal count method on filtered queryset
|
||||||
return super().count
|
return super().count
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user