1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-23 22:53:00 +02:00

fix type hint

This commit is contained in:
Nick Sweeting
2024-08-28 00:26:37 -07:00
parent f9ca7fe717
commit b789be098d

View File

@@ -138,7 +138,7 @@ class AccelleratedPaginator(Paginator):
@cached_property
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
return super().count
else: