Pridani sitemap, fix flake

This commit is contained in:
Michal Kváček
2024-02-26 09:44:40 +01:00
parent ff32c36a94
commit 1f8b338297
34 changed files with 590 additions and 205 deletions
@@ -18,10 +18,10 @@ class PaginationWindow(Generic[Item]):
async def get_pagination_window(
query: Select,
item_type: type,
limit: int,
offset: int = 0,
query: Select,
item_type: type,
limit: int,
offset: int = 0,
) -> PaginationWindow:
if limit <= 0:
raise Exception(f"limit ({limit}) must be > 0")