From 64746f24a7a30b9772cfba3f0ccfacc967a1eeb6 Mon Sep 17 00:00:00 2001 From: sureshhewa Date: Tue, 23 Apr 2024 14:11:59 +0100 Subject: [PATCH] increase the pagination upper limit to 10000 --- app/routes/pdbdev.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/pdbdev.py b/app/routes/pdbdev.py index 32f4fd9..7aa46e7 100644 --- a/app/routes/pdbdev.py +++ b/app/routes/pdbdev.py @@ -111,7 +111,7 @@ async def get_psm_level_residue_pairs(project_id: Annotated[str, Path(..., } })], page: int = Query(1, description="Page number"), - page_size: int = Query(10, gt=5, lt=100, description="Number of items per page"), + page_size: int = Query(10, gt=5, lt=10000, description="Number of items per page"), ): """ Get all residue pairs (based on PSM level data) belonging to a project.