Enhancement: Add missing **kwargs support to list_setups and list_evaluations
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
定位 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
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
openml/openml-python 的其他 Issue
-
[ENH] list_estimation_procedures() should include the procedure IDs可能已有人在做 @Jayant-kernel 于 8 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
openml/openml-python#1750 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
openml/openml-python#1749 ·
维护者通常 1 天内回复
-
Documentation Good First Issue
难度 2/5 1-3 小时 新手友好度 74/100
openml/openml-python#1708 · 8 条评论 ·
维护者通常 1 天内回复
-
Good First Issue module:Run testing
难度 2/5 1-3 小时 新手友好度 82/100
openml/openml-python#1646 · 9 条评论 · 3 个 reaction ·
维护者通常 1 天内回复
-
Good First Issue module:Data testing
难度 2/5 1-3 小时 新手友好度 82/100
openml/openml-python#1644 · 4 条评论 ·
维护者通常 1 天内回复
查看 openml/openml-python 的全部 Issue
相似的 Issue
-
bug frontend
难度 2/5 1-3 小时 新手友好度 85/100
PedestrianDynamics/pyFDS-Evac#552 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
resend/resend-skills#144 ·
维护者通常 1 天内回复
-
good first issue
难度 1/5 1 小时以内 新手友好度 68/100
-
Bug
难度 2/5 1-3 小时 新手友好度 72/100
GNS3/gns3-server#2935 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
TauricResearch/TradingAgents#1476 ·
维护者通常 2 天内回复