Skip to content

[FIX] Cap listing request batches at 1000 - #1764

Open
Jayant-kernel wants to merge 1 commit into
openml:mainfrom
Jayant-kernel:fix/list-request-batch-cap
Open

Jayant-kernel wants to merge 1 commit into
openml:mainfrom
Jayant-kernel:fix/list-request-batch-cap

Conversation

@Jayant-kernel

Copy link
Copy Markdown

Metadata

Details

Small, intentionally narrow starting point for #1757. The shared listing helper now caps each request at 1,000 items while keeping the requested total result count unchanged. The added test covers a 2,500-item result being fetched as 1,000, 1,000, and 500 items.

Opening this as a draft so we can confirm the wider scope and any API-specific cases during the meeting before expanding the change.

Ruff, formatting, and mypy pass. The focused pytest test could not start locally because Windows Application Control blocks SciPy's compiled _sobol extension during test imports; the local virtual environment does not currently have pytest installed.

Signed-off-by: Jayant-kernel <jayantmcom@gmail.com>
@Jayant-kernel
Jayant-kernel marked this pull request as ready for review October 8, 2026 02:03

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant