Skip to content

Commit

Permalink
increase the pagination upper limit to 10000
Browse files Browse the repository at this point in the history
  • Loading branch information
sureshhewabi committed Apr 23, 2024
1 parent f6b9d74 commit 64746f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/pdbdev.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 64746f2

Please sign in to comment.