You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enhancement: Add missing **kwargs support to list_setups and list_evaluations #1753
The list_setups and list_evaluations API endpoint functions in the Python connector currently lack support for passing arbitrary **kwargs. Other list API endpoints (like list_tasks or list_datasets) support this, allowing users to pass query parameters for advanced filtering directly to the OpenML backend.
There are existing TODO comments in the codebase specifically pointing out this limitation in test_utils.py (# TODO apparently list_setups function does not support kwargs).
Steps/Code to Reproduce
importopenml# Attempting to filter setups or evaluations with arbitrary backend kwargs raises an erroropenml.setups.list_setups(uploader=1)
ExpectedResultsThefunctionshouldacceptthe**kwargs (likeuploader=1), passthemtotheunderlyingrequestbuilder, andsuccessfullyreturnthefilteredsetupsorevaluations.
ActualResultstextTypeError: list_setups() gotanunexpectedkeywordargument'uploader'
Hello @shellyco-code,
Thank you for your contributions, however I think this issue is related to the newly posted issue #1757, which will first aim to standardize the listing process for all objects and then update the functionality to include a request size limit followed by testing.
For now I will keep this issue as open.
Activity
L-Agbaria commentedon Oct 1, 2026
Hello @shellyco-code,
Thank you for your contributions, however I think this issue is related to the newly posted issue #1757, which will first aim to standardize the listing process for all objects and then update the functionality to include a request size limit followed by testing.
For now I will keep this issue as open.