Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Enhancement: Add missing **kwargs support to list_setups and list_evaluations

未关闭 适合新手
#1,753 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
84/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
python
领域
api

调研方向

定位 list_setups 和 list_evaluations 的 Python connector 实现,然后将它们与 list_tasks 或 list_datasets 进行比较,并检查 test_utils.py 中的 TODO。验证 uploader=1 等任意参数能够传递到下层的请求构建器,并添加或运行测试,确认经过筛选的 setups 和 evaluations 能够在不发生 TypeError 的情况下返回。

由索引模型根据 Issue 内容生成。

描述

Description

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
import openml

# Attempting to filter setups or evaluations with arbitrary backend kwargs raises an error
openml.setups.list_setups(uploader=1) 

Expected Results
The function should accept the **kwargs (like uploader=1), pass them to the underlying request builder, and successfully return the filtered setups or evaluations.

Actual Results
text
TypeError: list_setups() got an unexpected keyword argument 'uploader'
主要语言
Python
星标
362
派生
304
平均合并
2 天 20 小时
30 天内合并 PR
2

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

openml/openml-python 的其他 Issue

查看 openml/openml-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。