Skip to content

Commit fe696fe

Browse files
vprashrexAyush8923
andauthored
feat(assessment): Increase Dataset Row Fetch Limit (#1204)
Co-authored-by: Ayush <80516839+Ayush8923@users.noreply.github.com>
1 parent 361e80d commit fe696fe

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎backend/app/api/docs/assessment/get_dataset.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ Get a single assessment dataset by ID.
22

33
Optionally include a signed URL to download the original uploaded file.
44

5-
Pass `limit_rows=N` (1-100) to additionally include a lightweight preview
5+
Pass `limit_rows=N` (1-2000) to additionally include a lightweight preview
66
of the dataset's column headers and the first N data rows. When omitted,
77
the underlying file is not fetched and the response stays small.

‎backend/app/api/routes/assessment/datasets.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def get_dataset(
118118
int | None,
119119
Query(
120120
ge=1,
121-
le=100,
121+
le=2000,
122122
description=(
123123
"If set, fetch the underlying file and include a preview of the "
124124
"first N data rows plus column headers. Skip to avoid the file "

0 commit comments

Comments
 (0)